nsRDFBaseDataSources.h 890 B

123456789101112131415161718192021222324252627282930313233
  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. /*
  6. This header file just contains prototypes for the factory methods
  7. for "builtin" data sources that are included in rdf.dll.
  8. Each of these data sources is exposed to the external world via its
  9. CID in ../include/nsRDFCID.h.
  10. */
  11. #ifndef nsBaseDataSources_h__
  12. #define nsBaseDataSources_h__
  13. #include "nsError.h"
  14. class nsIRDFDataSource;
  15. // in nsInMemoryDataSource.cpp
  16. nsresult
  17. NS_NewRDFInMemoryDataSource(nsISupports* aOuter, const nsIID& aIID, void** aResult);
  18. // in nsRDFXMLDataSource.cpp
  19. extern nsresult
  20. NS_NewRDFXMLDataSource(nsIRDFDataSource** aResult);
  21. #endif // nsBaseDataSources_h__