nsILocalStore.h 1.0 KB

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