Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 :
6 : #ifndef nsILocalStore_h__
7 : #define nsILocalStore_h__
8 :
9 : #include "rdf.h"
10 : #include "nsISupports.h"
11 :
12 : // {DF71C6F1-EC53-11d2-BDCA-000064657374}
13 : #define NS_ILOCALSTORE_IID \
14 : { 0xdf71c6f1, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
15 :
16 : // {DF71C6F0-EC53-11d2-BDCA-000064657374}
17 : #define NS_LOCALSTORE_CID \
18 : { 0xdf71c6f0, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
19 :
20 : #define NS_LOCALSTORE_CONTRACTID NS_RDF_DATASOURCE_CONTRACTID_PREFIX "local-store"
21 :
22 0 : class nsILocalStore : public nsISupports
23 : {
24 : public:
25 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALSTORE_IID)
26 : };
27 :
28 : NS_DEFINE_STATIC_IID_ACCESSOR(nsILocalStore, NS_ILOCALSTORE_IID)
29 :
30 : extern nsresult
31 : NS_NewLocalStore(nsISupports* aOuter, REFNSIID aIID, void** aResult);
32 :
33 :
34 : #endif // nsILocalStore_h__
|