Changeset 104495 in vbox
- Timestamp:
- May 2, 2024 4:47:35 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/glue/standalone/nsXPCOMGlue.h
r1 r104495 38 38 #include "nscore.h" 39 39 40 class nsILocalFile;41 42 40 /** 43 41 * Initialize the XPCOM glue by dynamically linking against the XPCOM … … 55 53 extern "C" 56 54 nsresult XPCOMGlueShutdown(); 57 58 59 /**60 * Locate the path of a compatible GRE.61 *62 * @return string buffer pointing to the GRE path (without a trailing63 * directory separator). Callers do no need to free this buffer.64 */65 66 extern "C"67 char const * GRE_GetGREPath();68 69 70 /**71 * Locate the path of a compatible GRE. This is returned as an72 * nsILocalFile instead of a char*.73 *74 * @param _retval Ordinary XPCOM getter, returns an addrefed interface.75 */76 77 extern "C"78 nsresult GRE_GetGREDirectory(nsILocalFile* *_retval);79 80 81 /**82 * Locate the path of the XPCOM binary of a compatible GRE.83 * The result of this function is normally passed directly to84 * XPCOMGlueStartup.85 *86 * @return string buffer pointing to the XPCOM DLL path. Callers do87 * not need to free this buffer.88 */89 90 extern "C"91 char const * GRE_GetXPCOMPath();92 93 94 /**95 * Embedding applications which don't need a custom96 * directoryserviceprovider may use GRE_Startup to start the XPCOM97 * glue and initialize the GRE in one step.98 */99 100 extern "C"101 nsresult GRE_Startup();102 103 104 /**105 * Shut down XPCOM and the XPCOM glue in one step.106 */107 108 extern "C"109 nsresult GRE_Shutdown();
Note:
See TracChangeset
for help on using the changeset viewer.