/* * DO NOT EDIT. THIS FILE IS GENERATED FROM nsIXPCScriptNotify.idl */ #ifndef __gen_nsIXPCScriptNotify_h__ #define __gen_nsIXPCScriptNotify_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif /* starting interface: nsIXPCScriptNotify */ #define NS_IXPCSCRIPTNOTIFY_IID_STR "2d45f33d-fd6e-4f1b-90e5-73e38478d836" #define NS_IXPCSCRIPTNOTIFY_IID \ {0x2d45f33d, 0xfd6e, 0x4f1b, \ { 0x90, 0xe5, 0x73, 0xe3, 0x84, 0x78, 0xd8, 0x36 }} class NS_NO_VTABLE nsIXPCScriptNotify : public nsISupports { public: NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXPCSCRIPTNOTIFY_IID) /** * Method invoked when a script has been executed by XPConnect */ /* void ScriptExecuted (); */ NS_IMETHOD ScriptExecuted(void) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIXPCSCRIPTNOTIFY \ NS_IMETHOD ScriptExecuted(void); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIXPCSCRIPTNOTIFY(_to) \ NS_IMETHOD ScriptExecuted(void) { return _to ScriptExecuted(); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIXPCSCRIPTNOTIFY(_to) \ NS_IMETHOD ScriptExecuted(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ScriptExecuted(); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsXPCScriptNotify : public nsIXPCScriptNotify { public: NS_DECL_ISUPPORTS NS_DECL_NSIXPCSCRIPTNOTIFY nsXPCScriptNotify(); virtual ~nsXPCScriptNotify(); /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(nsXPCScriptNotify, nsIXPCScriptNotify) nsXPCScriptNotify::nsXPCScriptNotify() { NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ } nsXPCScriptNotify::~nsXPCScriptNotify() { /* destructor code */ } /* void ScriptExecuted (); */ NS_IMETHODIMP nsXPCScriptNotify::ScriptExecuted() { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif #endif /* __gen_nsIXPCScriptNotify_h__ */ .