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/. */
6 #ifndef nsILocalStore_h__
7 #define nsILocalStore_h__
10 #include "nsISupports.h"
12 // {DF71C6F1-EC53-11d2-BDCA-000064657374}
13 #define NS_ILOCALSTORE_IID \
14 { 0xdf71c6f1, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
16 // {DF71C6F0-EC53-11d2-BDCA-000064657374}
17 #define NS_LOCALSTORE_CID \
18 { 0xdf71c6f0, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
20 #define NS_LOCALSTORE_CONTRACTID NS_RDF_DATASOURCE_CONTRACTID_PREFIX "local-store"
22 class nsILocalStore
: public nsISupports
25 NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALSTORE_IID
)
28 NS_DEFINE_STATIC_IID_ACCESSOR(nsILocalStore
, NS_ILOCALSTORE_IID
)
31 NS_NewLocalStore(nsISupports
* aOuter
, REFNSIID aIID
, void** aResult
);
34 #endif // nsILocalStore_h__