intl/unicharutil/nsCategoryImp.h
author Yoshi Huang <allstars.chh@mozilla.com>
Tue, 03 Nov 2015 09:50:54 +0800
changeset 295784 0e4c4db3b90ff45937cc1eab4b7bbd61f4674326
parent 253200 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
permissions -rw-r--r--
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
#ifndef nsCategoryImp_h__
#define nsCategoryImp_h__

#include "nsIUGenCategory.h"

class nsCategoryImp : public nsIUGenCategory {
   NS_DECL_THREADSAFE_ISUPPORTS
   
public:
   static nsCategoryImp* GetInstance();
    
   /**
    * Give a Unichar, return a nsUGenCategory
    */
   virtual nsUGenCategory Get(uint32_t aChar) override;
};

#endif  /* nsCategoryImp_h__ */