VirtualBox

Changeset 105605 in vbox for trunk/include/VBox/settings.h


Ignore:
Timestamp:
Aug 6, 2024 2:00:56 PM (4 months ago)
Author:
vboxsync
Message:

Recording/Main: Renaming: Dropped the superfluous "Settings" suffix of the settings namespace recording classes. This makes those classes easier to find, also for editors which don't support namespace handling, as the same class names were used for the actual implementation classes (i.e. RecordingSettingsImpl.cpp -> RecordingSettings). No functional changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r105087 r105605  
    650650 * your settings might never get saved.
    651651 */
    652 struct RecordingScreenSettings
    653 {
    654     RecordingScreenSettings(uint32_t idScreen = UINT32_MAX);
    655 
    656     virtual ~RecordingScreenSettings();
     652struct RecordingScreen
     653{
     654    RecordingScreen(uint32_t idScreen = UINT32_MAX);
     655
     656    virtual ~RecordingScreen();
    657657
    658658    void applyDefaults(void);
     
    676676    static void videoCodecToString(const RecordingVideoCodec_T &enmCodec, com::Utf8Str &strCodec);
    677677
    678     bool operator==(const RecordingScreenSettings &d) const;
     678    bool operator==(const RecordingScreen &d) const;
    679679
    680680    /** Screen ID.
     
    754754/** Map for keeping settings per virtual screen.
    755755 *  The key specifies the screen ID. */
    756 typedef std::map<uint32_t, RecordingScreenSettings> RecordingScreenSettingsMap;
     756typedef std::map<uint32_t, RecordingScreen> RecordingScreenSettingsMap;
    757757
    758758/**
     
    763763 * your settings might never get saved.
    764764 */
    765 struct RecordingCommonSettings
    766 {
    767     RecordingCommonSettings();
     765struct RecordingCommon
     766{
     767    RecordingCommon();
    768768
    769769    void applyDefaults(void);
     
    771771    bool areDefaultSettings(void) const;
    772772
    773     bool operator==(const RecordingCommonSettings &d) const;
     773    bool operator==(const RecordingCommon &d) const;
    774774
    775775    /** Whether recording as a whole is enabled or disabled. */
     
    782782 * your settings might never get saved.
    783783 */
    784 struct RecordingSettings
    785 {
    786     RecordingSettings();
     784struct Recording
     785{
     786    Recording();
    787787
    788788    void applyDefaults(void);
     
    790790    bool areDefaultSettings(void) const;
    791791
    792     bool operator==(const RecordingSettings &that) const;
     792    bool operator==(const Recording &that) const;
    793793
    794794    /** Common settings for all per-screen recording settings. */
    795     RecordingCommonSettings    common;
     795    RecordingCommon    common;
    796796    /** Map of handled recording screen settings.
    797797     *  The key specifies the screen ID. */
     
    14561456    Debugging           debugging;
    14571457    Autostart           autostart;
    1458     RecordingSettings   recordingSettings;
     1458    Recording   recordingSettings;
    14591459
    14601460    SnapshotsList       llChildSnapshots;
     
    15261526    Debugging               debugging;
    15271527    Autostart               autostart;
    1528     RecordingSettings       recordingSettings;
     1528    Recording       recordingSettings;
    15291529
    15301530    StringsMap              mapExtraDataItems;
     
    15861586    void readDebugging(const xml::ElementNode &elmDbg, Debugging &dbg);
    15871587    void readAutostart(const xml::ElementNode &elmAutostart, Autostart &autostrt);
    1588     void readRecordingSettings(const xml::ElementNode &elmRecording, uint32_t cMonitors, RecordingSettings &recording);
     1588    void readRecordingSettings(const xml::ElementNode &elmRecording, uint32_t cMonitors, Recording &recording);
    15891589    void readGroups(const xml::ElementNode &elmGroups, StringsList &llGroups);
    15901590    bool readSnapshot(const com::Guid &curSnapshotUuid, const xml::ElementNode &elmSnapshot, Snapshot &snap);
     
    16101610    void buildDebuggingXML(xml::ElementNode &elmParent, const Debugging &dbg);
    16111611    void buildAutostartXML(xml::ElementNode &elmParent, const Autostart &autostrt);
    1612     void buildRecordingXML(xml::ElementNode &elmParent, const RecordingSettings &recording);
     1612    void buildRecordingXML(xml::ElementNode &elmParent, const Recording &recording);
    16131613    void buildGroupsXML(xml::ElementNode &elmParent, const StringsList &llGroups);
    16141614    void buildSnapshotXML(xml::ElementNode &elmParent, const Snapshot &snap);
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