michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 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 nsILocalStore_h__ michael@0: #define nsILocalStore_h__ michael@0: michael@0: #include "rdf.h" michael@0: #include "nsISupports.h" michael@0: michael@0: // {DF71C6F1-EC53-11d2-BDCA-000064657374} michael@0: #define NS_ILOCALSTORE_IID \ michael@0: { 0xdf71c6f1, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } } michael@0: michael@0: // {DF71C6F0-EC53-11d2-BDCA-000064657374} michael@0: #define NS_LOCALSTORE_CID \ michael@0: { 0xdf71c6f0, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } } michael@0: michael@0: #define NS_LOCALSTORE_CONTRACTID NS_RDF_DATASOURCE_CONTRACTID_PREFIX "local-store" michael@0: michael@0: class nsILocalStore : public nsISupports michael@0: { michael@0: public: michael@0: NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALSTORE_IID) michael@0: }; michael@0: michael@0: NS_DEFINE_STATIC_IID_ACCESSOR(nsILocalStore, NS_ILOCALSTORE_IID) michael@0: michael@0: extern nsresult michael@0: NS_NewLocalStore(nsISupports* aOuter, REFNSIID aIID, void** aResult); michael@0: michael@0: michael@0: #endif // nsILocalStore_h__