2001-09-26 04:47:52 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04: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/. */
|
1999-02-10 02:52:36 +03:00
|
|
|
#ifndef nsCategoryImp_h__
|
|
|
|
#define nsCategoryImp_h__
|
|
|
|
|
|
|
|
#include "nsIUGenCategory.h"
|
|
|
|
|
|
|
|
class nsCategoryImp : public nsIUGenCategory {
|
2013-07-19 06:23:32 +04:00
|
|
|
NS_DECL_THREADSAFE_ISUPPORTS
|
1999-02-10 02:52:36 +03:00
|
|
|
|
2007-08-29 06:03:31 +04:00
|
|
|
public:
|
|
|
|
static nsCategoryImp* GetInstance();
|
1999-02-10 02:52:36 +03:00
|
|
|
|
|
|
|
/**
|
2007-08-29 06:03:31 +04:00
|
|
|
* Give a Unichar, return a nsUGenCategory
|
1999-02-10 02:52:36 +03:00
|
|
|
*/
|
2015-03-21 19:28:04 +03:00
|
|
|
virtual nsUGenCategory Get(uint32_t aChar) override;
|
1999-02-10 02:52:36 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsCategoryImp_h__ */
|