Bumping manifests a=b2g-bump
[gecko.git] / xpcom / io / nsUnicharInputStream.h
blob3bb24618c890a5a661af6890f72c7e8fbc261d29
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsUnicharInputStream_h__
8 #define nsUnicharInputStream_h__
10 #include "nsISimpleUnicharStreamFactory.h"
11 #include "nsIUnicharInputStream.h"
12 #include "nsIFactory.h"
14 // {428DCA6F-1A0F-4cda-B516-0D5244745A6A}
15 #define NS_SIMPLE_UNICHAR_STREAM_FACTORY_CID \
16 { 0x428dca6f, 0x1a0f, 0x4cda, { 0xb5, 0x16, 0xd, 0x52, 0x44, 0x74, 0x5a, 0x6a } }
18 class nsSimpleUnicharStreamFactory
19 : public nsIFactory
20 , private nsISimpleUnicharStreamFactory
22 public:
23 nsSimpleUnicharStreamFactory()
26 NS_DECL_ISUPPORTS_INHERITED
27 NS_DECL_NSIFACTORY
28 NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY
30 static nsSimpleUnicharStreamFactory* GetInstance();
33 #endif // nsUnicharInputStream_h__