/src/mozilla-central/xpcom/ds/nsINIParserImpl.h
Line | Count | Source (jump to first uncovered line) |
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/. */ |
6 | | |
7 | | #ifndef nsINIParserImpl_h__ |
8 | | #define nsINIParserImpl_h__ |
9 | | |
10 | | #include "nsIINIParser.h" |
11 | | #include "nsIFactory.h" |
12 | | #include "mozilla/Attributes.h" |
13 | | |
14 | | #define NS_INIPARSERFACTORY_CID \ |
15 | | { 0xdfac10a9, 0xdd24, 0x43cf, \ |
16 | | { 0xa0, 0x95, 0x6f, 0xfa, 0x2e, 0x4b, 0x6a, 0x6c } } |
17 | | |
18 | | #define NS_INIPARSERFACTORY_CONTRACTID \ |
19 | | "@mozilla.org/xpcom/ini-parser-factory;1" |
20 | | |
21 | | class nsINIParserFactory final |
22 | | : public nsIINIParserFactory |
23 | | , public nsIFactory |
24 | | { |
25 | 0 | ~nsINIParserFactory() {} |
26 | | |
27 | | public: |
28 | | NS_DECL_ISUPPORTS |
29 | | NS_DECL_NSIINIPARSERFACTORY |
30 | | NS_DECL_NSIFACTORY |
31 | | }; |
32 | | |
33 | | #endif // nsINIParserImpl_h__ |