2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifndef nsCategoryImp_h__
|
|
|
|
#define nsCategoryImp_h__
|
|
|
|
|
|
|
|
#include "nsIUGenCategory.h"
|
|
|
|
|
|
|
|
class nsCategoryImp : public nsIUGenCategory {
|
2013-07-18 19:23:32 -07:00
|
|
|
NS_DECL_THREADSAFE_ISUPPORTS
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-08-28 19:03:31 -07:00
|
|
|
public:
|
|
|
|
static nsCategoryImp* GetInstance();
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/**
|
2007-08-28 19:03:31 -07:00
|
|
|
* Give a Unichar, return a nsUGenCategory
|
2007-03-22 10:30:00 -07:00
|
|
|
*/
|
2012-08-22 08:56:38 -07:00
|
|
|
virtual nsUGenCategory Get(uint32_t aChar);
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsCategoryImp_h__ */
|