#include "tclxpcom.h"
#include "nsIModule.h"
#include "nsIComponentManager.h"
#include "nsIFile.h"
Go to the source code of this file.
Defines | |
#define | LOADER_SCRIPT " \ package require tclxpcom; \ xpcom::module {package require tclxpcom_loader} { \ puts \"unloading\"; unload \ } \" |
Functions | |
int | GetModuleFromObj (Tcl_Interp *interp, Tcl_Obj *objPtr, nsIModule **module) |
int | UnloadObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
NS_EXPORT nsresult | NSGetModule (nsIComponentManager *servMgr, nsIFile *location, nsIModule **result) |
Variables | |
nsIID | nsimodule_iid = NS_IMODULE_IID |
int | loaderFailed = 0 |
Contains functions that implement the TclXPCOM Tcl component loader.
Definition in file TclXPCOMLoader.cpp.
|
Definition at line 54 of file TclXPCOMLoader.cpp. Referenced by NSGetModule. |
|
Retrieves an nsIModule interface pointer from the given Tcl Object. If an error occurs and 'interp' is not NULL, a message will be left in 'interp's result.
Definition at line 70 of file TclXPCOMLoader.cpp. References nsimodule_iid, and TCLXPCOM_ISUPPORTSTYPENAME. Referenced by NSGetModule. |
|
Processes the 'unload' command, which terminates the currently running Tcl interpreter.
Definition at line 112 of file TclXPCOMLoader.cpp. Referenced by NSGetModule. |
|
Module entry point for the TclXPCOM Tcl Component Loader.
Definition at line 152 of file TclXPCOMLoader.cpp. References GetModuleFromObj, LOADER_SCRIPT, loaderFailed, and UnloadObjCmd. |
|
Definition at line 50 of file TclXPCOMLoader.cpp. Referenced by GetModuleFromObj. |
|
Definition at line 52 of file TclXPCOMLoader.cpp. Referenced by NSGetModule. |