michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsUnicharInputStream_h__ michael@0: #define nsUnicharInputStream_h__ michael@0: michael@0: #include "nsISimpleUnicharStreamFactory.h" michael@0: #include "nsIUnicharInputStream.h" michael@0: #include "nsIFactory.h" michael@0: michael@0: // {428DCA6F-1A0F-4cda-B516-0D5244745A6A} michael@0: #define NS_SIMPLE_UNICHAR_STREAM_FACTORY_CID \ michael@0: { 0x428dca6f, 0x1a0f, 0x4cda, { 0xb5, 0x16, 0xd, 0x52, 0x44, 0x74, 0x5a, 0x6a } } michael@0: michael@0: class nsSimpleUnicharStreamFactory : michael@0: public nsIFactory, michael@0: private nsISimpleUnicharStreamFactory michael@0: { michael@0: public: michael@0: nsSimpleUnicharStreamFactory() {} michael@0: NS_DECL_ISUPPORTS_INHERITED michael@0: NS_DECL_NSIFACTORY michael@0: NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY michael@0: michael@0: static nsSimpleUnicharStreamFactory* GetInstance(); michael@0: }; michael@0: michael@0: #endif // nsUnicharInputStream_h__