VirtualBox

Changeset 33976 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Nov 11, 2010 11:22:35 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67638
Message:

now for real

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp

    r33972 r33976  
    725725    uint32_t memorySize = 0;
    726726    uint32_t vramSize = 0;
    727     VBoxSDLEventListener *vboxListener = NULL;
    728     VBoxSDLConsoleEventListener *consoleListener = NULL;
     727    IEventListener *vboxListener = NULL;
     728    VBoxSDLConsoleEventListenerImpl *consoleListener = NULL;
    729729
    730730    bool fFullscreen = false;
     
    18101810        CHECK_ERROR(es, RegisterListener(consoleListener, ComSafeArrayAsInParam(eventTypes), true));
    18111811        // until we've tried to to start the VM, ignore power off events
    1812         consoleListener->ignorePowerOffEvents(true);
     1812        consoleListener->getWrapped()->ignorePowerOffEvents(true);
    18131813    }
    18141814
     
    21162116    // accept power off events from now on because we're running
    21172117    // note that there's a possible race condition here...
    2118     consoleListener->ignorePowerOffEvents(false);
     2118    consoleListener->getWrapped()->ignorePowerOffEvents(false);
    21192119
    21202120    rc = gConsole->COMGETTER(Keyboard)(gKeyboard.asOutParam());
     
    26452645    do
    26462646    {
    2647         consoleListener->ignorePowerOffEvents(true);
     2647        consoleListener->getWrapped()->ignorePowerOffEvents(true);
    26482648        ComPtr<IProgress> progress;
    26492649        CHECK_ERROR_BREAK(gConsole, PowerDown(progress.asOutParam()));
Note: See TracChangeset for help on using the changeset viewer.

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