Changeset 1471 in vbox for trunk/src/VBox/Main/linux/module.cpp
- Timestamp:
- Mar 14, 2007 2:59:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/linux/module.cpp
r436 r1471 21 21 22 22 #include <nsIGenericFactory.h> 23 #include <VirtualBox_XPCOM.h>24 23 25 #include <GuestImpl.h> 26 #include <KeyboardImpl.h> 27 #include <MouseImpl.h> 28 #include <DisplayImpl.h> 29 #include <MachineDebuggerImpl.h> 30 #include <USBDeviceImpl.h> 31 #include <RemoteUSBDeviceImpl.h> 32 #include <SharedFolderImpl.h> 33 #include <FramebufferImpl.h> 34 #include <ProgressImpl.h> 35 #include <NetworkAdapterImpl.h> 24 // generated file 25 #include "VirtualBox_XPCOM.h" 36 26 37 #include <SessionImpl.h> 38 #include <ConsoleImpl.h> 39 #include <ConsoleVRDPServer.h> 27 #include "GuestImpl.h" 28 #include "KeyboardImpl.h" 29 #include "MouseImpl.h" 30 #include "DisplayImpl.h" 31 #include "MachineDebuggerImpl.h" 32 #include "USBDeviceImpl.h" 33 #include "RemoteUSBDeviceImpl.h" 34 #include "SharedFolderImpl.h" 35 #include "FramebufferImpl.h" 36 #include "ProgressImpl.h" 37 #include "NetworkAdapterImpl.h" 38 39 #include "SessionImpl.h" 40 #include "ConsoleImpl.h" 41 #include "ConsoleVRDPServer.h" 42 43 #include "Logging.h" 40 44 41 45 // XPCOM glue code unfolding … … 76 80 77 81 /** 78 * Singleton class factory that holds thereference to the created instance82 * Singleton class factory that holds a reference to the created instance 79 83 * (preventing it from being destroyed) until the module is explicitly 80 84 * unloaded by the XPCOM shutdown code. … … 129 133 NS_GENERIC_FACTORY_CONSTRUCTOR_WITH_RC (Session) 130 134 135 136 /** 137 * Component definition table. 138 * Lists all components defined in this module. 139 */ 131 140 static const nsModuleComponentInfo components[] = 132 141 { 133 142 { 134 "Session component", NS_SESSION_CID, NS_SESSION_CONTRACTID, 135 SessionConstructor, 143 "Session component", // description 144 NS_SESSION_CID, NS_SESSION_CONTRACTID, // CID/ContractID 145 SessionConstructor, // constructor function 136 146 NULL, // registration function 137 147 NULL, // deregistration function … … 139 149 // SessionClassFactory::releaseInstance, 140 150 NULL, // destructor function 141 NS_CI_INTERFACE_GETTER_NAME(Session), 151 NS_CI_INTERFACE_GETTER_NAME(Session), // interfaces function 142 152 NULL, // language helper 143 &NS_CLASSINFO_NAME(Session) 153 &NS_CLASSINFO_NAME(Session) // global class info & flags 144 154 } 145 155 }; 146 156 147 NS_IMPL_NSGETMODULE (SessionModule, components)157 NS_IMPL_NSGETMODULE (VirtualBox_Client_Module, components) 148 158
Note:
See TracChangeset
for help on using the changeset viewer.