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: /* michael@0: michael@0: This header file just contains prototypes for the factory methods michael@0: for "builtin" data sources that are included in rdf.dll. michael@0: michael@0: Each of these data sources is exposed to the external world via its michael@0: CID in ../include/nsRDFCID.h. michael@0: michael@0: */ michael@0: michael@0: #ifndef nsBaseDataSources_h__ michael@0: #define nsBaseDataSources_h__ michael@0: michael@0: #include "nsError.h" michael@0: class nsIRDFDataSource; michael@0: michael@0: // in nsInMemoryDataSource.cpp michael@0: nsresult michael@0: NS_NewRDFInMemoryDataSource(nsISupports* aOuter, const nsIID& aIID, void** aResult); michael@0: michael@0: // in nsRDFXMLDataSource.cpp michael@0: extern nsresult michael@0: NS_NewRDFXMLDataSource(nsIRDFDataSource** aResult); michael@0: michael@0: #endif // nsBaseDataSources_h__ michael@0: michael@0: