VirtualBox

Ignore:
Timestamp:
Feb 18, 2007 7:33:09 PM (18 years ago)
Author:
vboxsync
Message:

XPCOM event queue stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/COMDefs.cpp

    r933 r967  
    7171PRUint32 COMBase::gVBoxServerID = 0;
    7272
     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)
    7378XPCOMEventQSocketListener *COMBase::gSocketListener = 0;
     79# endif
    7480
    7581/**
     
    183189                AssertMsg (isNative, ("The event queue must be native"));
    184190#endif
     191# if !defined (__DARWIN__) && !defined (__OS2__)
    185192                gSocketListener = new XPCOMEventQSocketListener (gEventQ);
     193# endif
    186194
    187195                // get the IPC service
     
    234242        {
    235243            LogFlow (("COMBase::cleanupCOM(): doing cleanup...\n"));
     244# if !defined (__DARWIN__) && !defined (__OS2__)
    236245            if (gSocketListener)
    237246                delete gSocketListener;
     247# endif
    238248            if (gDConnectService)
    239249                gDConnectService->Release();
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r960 r967  
    116116static void DarwinInit (void)
    117117{
     118    /* This probably belongs else where. */
    118119    static struct
    119120    {
     
    132133    if (!RTEnvGet ("VBOX_XPCOM_HOME"))
    133134        RTEnvPut (s.var);
     135
     136    /** @todo automatically start VBoxSVC. */
    134137}
    135138#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette