VirtualBox

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


Ignore:
Timestamp:
Feb 9, 2011 11:20:31 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69930
Message:

Main/Frontends: Also use facilities for guest features (seamless, graphics), added facility-state-to-name to VBoxManage, some renaming.

File:
1 edited

Legend:

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

    r35890 r35907  
    7676    STDMETHOD(COMGETTER(AdditionsRunLevel)) (AdditionsRunLevelType_T *aRunLevel);
    7777    STDMETHOD(COMGETTER(AdditionsVersion)) (BSTR *aAdditionsVersion);
    78     /** @todo Remove later by replacing it by AdditionsFeatureAvailable(). */
    79     STDMETHOD(COMGETTER(SupportsSeamless)) (BOOL *aSupportsSeamless);
    80     STDMETHOD(COMGETTER(SupportsGraphics)) (BOOL *aSupportsGraphics);
    81 #if 0
    82     /** @todo Will replace SupportsSeamless, SupportsGraphics, ... */
    83     STDMETHOD(COMGETTER(AdditionsFeatureAvailable)) (LONG64 aFeature, BOOL *aActive, BOOL *aAvailable);
    84 #endif
    8578    STDMETHOD(COMGETTER(MemoryBalloonSize)) (ULONG *aMemoryBalloonSize);
    8679    STDMETHOD(COMSETTER(MemoryBalloonSize)) (ULONG aMemoryBalloonSize);
     
    116109    void setAdditionsInfo(Bstr aInterfaceVersion, VBOXOSTYPE aOsType);
    117110    void setAdditionsInfo2(Bstr aAdditionsVersion, Bstr aVersionName, Bstr aRevision);
    118     void setAdditionsStatus(VBoxGuestStatusFacility enmFacility, VBoxGuestStatusCurrent enmStatus, ULONG aFlags);
     111    bool facilityIsActive(VBoxGuestFacilityType enmFacility);
     112    void updateFacility(VBoxGuestFacilityType enmFacility, VBoxGuestFacilityStatus enmStatus);
     113    void setAdditionsStatus(VBoxGuestFacilityType enmFacility, VBoxGuestFacilityStatus enmStatus, ULONG aFlags);
    119114    void setSupportedFeatures(uint32_t aCaps);
    120115    HRESULT setStatistic(ULONG aCpuId, GUESTSTATTYPE enmType, ULONG aVal);
     
    195190    struct Data
    196191    {
    197         Data() : mAdditionsRunLevel (AdditionsRunLevelType_None),
    198                  mSupportsSeamless (FALSE),
    199                  mSupportsGraphics (FALSE) {}
     192        Data() : mAdditionsRunLevel (AdditionsRunLevelType_None) {}
    200193
    201194        Bstr                    mOSTypeId;
    202 
    203195        FacilityMap             mFacilityMap;
    204196        AdditionsRunLevelType_T mAdditionsRunLevel;
    205197        Bstr                    mAdditionsVersion;
    206198        Bstr                    mInterfaceVersion;
    207         BOOL                    mSupportsSeamless;
    208         BOOL                    mSupportsGraphics;
    209199    };
    210200
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