1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rdf/datasource/public/nsILocalStore.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsILocalStore_h__ 1.10 +#define nsILocalStore_h__ 1.11 + 1.12 +#include "rdf.h" 1.13 +#include "nsISupports.h" 1.14 + 1.15 +// {DF71C6F1-EC53-11d2-BDCA-000064657374} 1.16 +#define NS_ILOCALSTORE_IID \ 1.17 +{ 0xdf71c6f1, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } } 1.18 + 1.19 +// {DF71C6F0-EC53-11d2-BDCA-000064657374} 1.20 +#define NS_LOCALSTORE_CID \ 1.21 +{ 0xdf71c6f0, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } } 1.22 + 1.23 +#define NS_LOCALSTORE_CONTRACTID NS_RDF_DATASOURCE_CONTRACTID_PREFIX "local-store" 1.24 + 1.25 +class nsILocalStore : public nsISupports 1.26 +{ 1.27 +public: 1.28 + NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALSTORE_IID) 1.29 +}; 1.30 + 1.31 +NS_DEFINE_STATIC_IID_ACCESSOR(nsILocalStore, NS_ILOCALSTORE_IID) 1.32 + 1.33 +extern nsresult 1.34 +NS_NewLocalStore(nsISupports* aOuter, REFNSIID aIID, void** aResult); 1.35 + 1.36 + 1.37 +#endif // nsILocalStore_h__