VirtualBox

Changeset 13705 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Oct 31, 2008 9:00:15 AM (16 years ago)
Author:
vboxsync
Message:

Completed power event handling:

  • pause running machines for the suspend event
  • resume paused machines for the resume event
  • save the state of running and paused machine for the battery low event
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HostPower.h

    r13688 r13705  
    4242
    4343    void    notify(HostPowerEvent event);
    44     HRESULT processEvent(SessionMachine *machine, HostPowerEvent event);
     44    HRESULT processEvent(SessionMachine *machine, HostPowerEvent event, BOOL *paMachineSuspended);
    4545
    4646protected:
    4747    ComObjPtr <VirtualBox, ComWeakRef> mVirtualBox;
     48
     49    BOOL    *aMachineSuspended;
     50    size_t   cbMachineSuspended;
    4851};
    4952
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