VirtualBox

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


Ignore:
Timestamp:
Jan 31, 2019 4:05:05 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Fixed GuestWaitEvent initialization by now having dedicated Init() functions and use proper memory / exception handling in GuestBase::registerWaitEventEx().

File:
1 edited

Legend:

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

    r76958 r77079  
    10661066public:
    10671067
    1068     GuestWaitEvent(uint32_t uCID);
    1069     GuestWaitEvent(uint32_t uCID, const GuestEventTypes &lstEvents);
     1068    GuestWaitEvent(void);
    10701069    virtual ~GuestWaitEvent(void);
    10711070
    10721071public:
    10731072
     1073    int                              Init(uint32_t uCID);
     1074    int                              Init(uint32_t uCID, const GuestEventTypes &lstEvents);
    10741075    int                              Cancel(void);
    10751076    const ComPtr<IEvent>             Event(void) { return mEvent; }
     
    10791080    const GuestEventTypes           &Types(void) { return mEventTypes; }
    10801081    size_t                           TypeCount(void) { return mEventTypes.size(); }
    1081 
    1082 protected:
    1083 
    1084     int                              Init(uint32_t uCID);
    10851082
    10861083protected:
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