nsCategoryImp.h 656 B

1234567891011121314151617181920212223
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef nsCategoryImp_h__
  6. #define nsCategoryImp_h__
  7. #include "nsIUGenCategory.h"
  8. class nsCategoryImp : public nsIUGenCategory {
  9. NS_DECL_THREADSAFE_ISUPPORTS
  10. public:
  11. static nsCategoryImp* GetInstance();
  12. /**
  13. * Give a Unichar, return a nsUGenCategory
  14. */
  15. virtual nsUGenCategory Get(uint32_t aChar) override;
  16. };
  17. #endif /* nsCategoryImp_h__ */