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: #include "nsIRDFDataSource.idl" michael@0: michael@0: /** michael@0: * An nsIRDFInferDataSource is implemented by a infer engine. This michael@0: * engine mimics assertions in addition to those in the baseDataSource michael@0: * according to a particular vocabulary. michael@0: * Infer engines have contract IDs in the form of michael@0: * "@mozilla.org/rdf/infer-datasource;1?engine=" michael@0: */ michael@0: michael@0: [scriptable, uuid(2b04860f-4017-40f6-8a57-784a1e35077a)] michael@0: interface nsIRDFInferDataSource : nsIRDFDataSource { michael@0: /** michael@0: * michael@0: * The wrapped datasource. michael@0: * michael@0: * The InferDataSource contains all arcs from the wrapped michael@0: * datasource plus those infered by the vocabulary implemented michael@0: * by the InferDataSource. michael@0: */ michael@0: attribute nsIRDFDataSource baseDataSource; michael@0: }; michael@0: