/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile, *Youcanobtainoneathttp://mozilla.org/MPL/2.0/.
*/
class TestCImplementedInterface : public TestJSImplInterface {
public:
TestCImplementedInterface(JS::Handle<JSObject*> aJSImpl,
JS::Handle<JSObject*> aJSImplGlobal,
nsIGlobalObject* aParent)
: TestJSImplInterface(aJSImpl, aJSImplGlobal, aParent) {}
};
class TestCImplementedInterface2 : public nsISupports, public nsWrapperCache {
public: explicit TestCImplementedInterface2(nsIGlobalObject* aParent) {}
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(TestCImplementedInterface2)
// We need a GetParentObject to make binding codegen happy
nsISupports* GetParentObject();
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.