2001-09-28 20:14:13 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-04-06 20:36:37 +00:00
|
|
|
|
|
|
|
#ifndef nsILocalStore_h__
|
|
|
|
#define nsILocalStore_h__
|
|
|
|
|
2001-03-23 07:45:02 +00:00
|
|
|
#include "rdf.h"
|
1999-04-06 20:36:37 +00:00
|
|
|
#include "nsISupports.h"
|
|
|
|
|
|
|
|
// {DF71C6F1-EC53-11d2-BDCA-000064657374}
|
|
|
|
#define NS_ILOCALSTORE_IID \
|
|
|
|
{ 0xdf71c6f1, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
|
|
|
|
|
2001-02-22 03:01:34 +00:00
|
|
|
// {DF71C6F0-EC53-11d2-BDCA-000064657374}
|
|
|
|
#define NS_LOCALSTORE_CID \
|
|
|
|
{ 0xdf71c6f0, 0xec53, 0x11d2, { 0xbd, 0xca, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
|
|
|
|
|
|
|
|
#define NS_LOCALSTORE_CONTRACTID NS_RDF_DATASOURCE_CONTRACTID_PREFIX "local-store"
|
|
|
|
|
1999-04-06 20:36:37 +00:00
|
|
|
class nsILocalStore : public nsISupports
|
|
|
|
{
|
|
|
|
public:
|
2005-11-11 14:36:26 +00:00
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILOCALSTORE_IID)
|
1999-04-06 20:36:37 +00:00
|
|
|
};
|
|
|
|
|
2005-11-11 14:36:26 +00:00
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsILocalStore, NS_ILOCALSTORE_IID)
|
1999-04-06 20:36:37 +00:00
|
|
|
|
2010-06-10 18:11:40 +00:00
|
|
|
extern nsresult
|
2001-02-22 03:01:34 +00:00
|
|
|
NS_NewLocalStore(nsISupports* aOuter, REFNSIID aIID, void** aResult);
|
1999-04-06 20:36:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif // nsILocalStore_h__
|