#include "TclXPCOMPrivate.h"
#include "nsXPCOM.h"
#include "nsILocalFile.h"
#include "nsIDirectoryService.h"
#include "nsIThread.h"
#include "nsString.h"
Go to the source code of this file.
Functions | |
int | Tclxpcom_SafeInit (Tcl_Interp *interp) |
int | Tclxpcom_Init (Tcl_Interp *interp) |
Variables | |
nsIServiceManager * | servmanager |
global reference to the XPCOM Service Manager. More... | |
nsIInterfaceInfoManager * | manager |
global reference to the XPCOM Interface Info Manager. More... | |
nsIComponentRegistrar * | registrar |
global reference to the XPCOM Component Manager. More... | |
nsIMemory * | memmgr |
global reference to the XPCOM Memory Allocator. More... | |
nsIID | nsisupports_iid = NS_ISUPPORTS_IID |
nsIID | nsiclassinfo_iid = NS_ICLASSINFO_IID |
nsIID | nsiservicemanager_iid = NS_ISERVICEMANAGER_IID |
nsIInterfaceInfo * | nsisupports_info |
nsIInterfaceInfo * | nsiservicemanager_info |
nsIInterfaceInfo * | nsiclassinfo_info |
Tcl_Encoding | ascii_enc |
int | TclXPCOMInitialized = 0 |
indicates whether the library has been initialized. More... |
Contains initialization functions for the TclXPCOM library.
Definition in file TclXPCOMInit.cpp.
|
Initializes a safe version of TclXPCOM in the given interpreter. Currently this is identical to the 'non-safe' version.
Definition at line 74 of file TclXPCOMInit.cpp. References Tclxpcom_Init. |
|
Initializes the TclXPCOM library if necessary and adds the 'xpcom' command to the given interpreter. If 'xpcom::mozilla_home' is set, its value will be used during the initialization of XPCOM to specify the location of the mozilla 'bin' directory.
Definition at line 95 of file TclXPCOMInit.cpp. References ascii_enc, manager, memmgr, nsiclassinfo_iid, nsiclassinfo_info, nsiservicemanager_iid, nsiservicemanager_info, nsisupports_iid, nsisupports_info, registrar, servmanager, TclXPCOM_InitClassInfo, TclXPCOM_InitInterfaceInfo, TclXPCOM_InitInterfaceRef, TCLXPCOM_MOZHOMEVARNAME, TclXPCOM_RegisterCommands, TclXPCOM_RegisterObjTypes, and TclXPCOMInitialized. Referenced by Tclxpcom_SafeInit. |
|
global reference to the XPCOM Service Manager.
Definition at line 48 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
global reference to the XPCOM Interface Info Manager.
Definition at line 49 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
global reference to the XPCOM Component Manager.
Definition at line 50 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
global reference to the XPCOM Memory Allocator.
Definition at line 51 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 53 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 54 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 55 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 57 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 58 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 59 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
Definition at line 61 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |
|
indicates whether the library has been initialized.
Definition at line 63 of file TclXPCOMInit.cpp. Referenced by Tclxpcom_Init. |