Changeset 967 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 18, 2007 7:33:09 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/COMDefs.cpp
r933 r967 71 71 PRUint32 COMBase::gVBoxServerID = 0; 72 72 73 /* Mac OS X (Carbon mode) and OS/2 will notify the native queue 74 internally in plevent.c. Because moc doesn't seems to respect 75 #ifdefs, we still have to include the definition of the class. 76 very silly. */ 77 # if !defined (Q_OS_MAC) && !defined (Q_OS_OS2) 73 78 XPCOMEventQSocketListener *COMBase::gSocketListener = 0; 79 # endif 74 80 75 81 /** … … 183 189 AssertMsg (isNative, ("The event queue must be native")); 184 190 #endif 191 # if !defined (__DARWIN__) && !defined (__OS2__) 185 192 gSocketListener = new XPCOMEventQSocketListener (gEventQ); 193 # endif 186 194 187 195 // get the IPC service … … 234 242 { 235 243 LogFlow (("COMBase::cleanupCOM(): doing cleanup...\n")); 244 # if !defined (__DARWIN__) && !defined (__OS2__) 236 245 if (gSocketListener) 237 246 delete gSocketListener; 247 # endif 238 248 if (gDConnectService) 239 249 gDConnectService->Release(); -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r960 r967 116 116 static void DarwinInit (void) 117 117 { 118 /* This probably belongs else where. */ 118 119 static struct 119 120 { … … 132 133 if (!RTEnvGet ("VBOX_XPCOM_HOME")) 133 134 RTEnvPut (s.var); 135 136 /** @todo automatically start VBoxSVC. */ 134 137 } 135 138 #endif
Note:
See TracChangeset
for help on using the changeset viewer.