VirtualBox

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


Ignore:
Timestamp:
Nov 8, 2018 3:39:50 PM (6 years ago)
Author:
vboxsync
Message:

Recording: More settings bugfixes for Main and FE/Qt.

Location:
trunk/src/VBox/Main/include
Files:
3 edited

Legend:

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

    r75322 r75324  
    2323#include "CaptureScreenSettingsWrap.h"
    2424
     25class CaptureSettings;
     26
    2527namespace settings
    2628{
     
    3941
    4042    // public initializer/uninitializer for internal purposes only
    41     HRESULT init(Machine *aParent, uint32_t uScreenId, const settings::CaptureScreenSettings& data);
    42     HRESULT init(Machine *aParent, CaptureScreenSettings *that);
    43     HRESULT initCopy(Machine *aParent, CaptureScreenSettings *that);
     43    HRESULT init(CaptureSettings *aParent, uint32_t uScreenId, const settings::CaptureScreenSettings& data);
     44    HRESULT init(CaptureSettings *aParent, CaptureScreenSettings *that);
     45    HRESULT initCopy(CaptureSettings *aParent, CaptureScreenSettings *that);
    4446    void uninit();
    4547
     
    102104
    103105    // internal methods
    104     int  i_getDefaultFileName(Utf8Str &strFile);
    105106    int  i_initInternal();
    106107
  • trunk/src/VBox/Main/include/CaptureSettingsImpl.h

    r75307 r75324  
    5656    void i_applyDefaults(void);
    5757
     58    int i_getDefaultFileName(Utf8Str &strFile);
     59    bool i_canChangeSettings(void);
     60    void i_onSettingsChanged(void);
     61
    5862private:
    5963
    60     int i_addScreen(uint32_t uScreenId, const settings::CaptureScreenSettings &data);
     64    /** Map of screen settings objects. The key specifies the screen ID. */
     65    typedef std::map <uint32_t, ComObjPtr<CaptureScreenSettings> > CaptureScreenSettingsMap;
     66
     67    void i_reset(void);
     68    int i_syncToMachineDisplays(void);
     69    int i_createScreenObj(CaptureScreenSettingsMap &screenSettingsMap, uint32_t uScreenId, const settings::CaptureScreenSettings &data);
     70    int i_destroyScreenObj(CaptureScreenSettingsMap &screenSettingsMap, uint32_t uScreenId);
     71    int i_destroyAllScreenObj(CaptureScreenSettingsMap &screenSettingsMap);
    6172
    6273private:
     
    7283private:
    7384
    74     /** Map of screen settings objects. The key specifies the screen ID. */
    75     typedef std::map <uint32_t, ComObjPtr<CaptureScreenSettings> > CaptureScreenSettingsMap;
    76 
    7785    struct Data;
    7886    Data *m;
  • trunk/src/VBox/Main/include/MachineImpl.h

    r75307 r75324  
    489489    Utf8Str i_getOSTypeId() const { return mUserData->s.strOsType; }
    490490    ChipsetType_T i_getChipsetType() const { return mHWData->mChipsetType; }
     491    ULONG i_getMonitorCount() const { return mHWData->mMonitorCount; }
    491492    ParavirtProvider_T i_getParavirtProvider() const { return mHWData->mParavirtProvider; }
    492493    Utf8Str i_getParavirtDebug() const { return mHWData->mParavirtDebug; }
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