VirtualBox

Ignore:
Timestamp:
Aug 6, 2024 2:00:56 PM (6 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/src/VBox/Main/src-client/Recording.cpp

    r105436 r105605  
    239239 * @param   pProgress           Where to return the created progress object on success.
    240240 */
    241 int RecordingContext::progressCreate(const settings::RecordingSettings &Settings, ComObjPtr<Progress> &pProgress)
     241int RecordingContext::progressCreate(const settings::Recording &Settings, ComObjPtr<Progress> &pProgress)
    242242{
    243243    /* Determine the number of operations the recording progress has.
     
    249249    while (itScreen != Settings.mapScreens.end())
    250250    {
    251         settings::RecordingScreenSettings const &screenSettings = itScreen->second;
     251        settings::RecordingScreen const &screenSettings = itScreen->second;
    252252        if (screenSettings.ulMaxTimeS == 0)
    253253        {
     
    671671 * @param   screenSettings      Reference to recording screen settings to use for initialization.
    672672 */
    673 int RecordingContext::audioInit(const settings::RecordingScreenSettings &screenSettings)
     673int RecordingContext::audioInit(const settings::RecordingScreen &screenSettings)
    674674{
    675675    RecordingAudioCodec_T const enmCodec = screenSettings.Audio.enmCodec;
     
    754754 * @param   pProgress           Progress object returned on success.
    755755 */
    756 int RecordingContext::createInternal(Console *ptrConsole, const settings::RecordingSettings &Settings,
     756int RecordingContext::createInternal(Console *ptrConsole, const settings::Recording &Settings,
    757757                                     ComPtr<IProgress> &pProgress)
    758758{
     
    767767
    768768    /* We always use the audio settings from screen 0, as we multiplex the audio data anyway. */
    769     settings::RecordingScreenSettings const &screen0Settings = itScreen0->second;
     769    settings::RecordingScreen const &screen0Settings = itScreen0->second;
    770770
    771771    vrc = this->audioInit(screen0Settings);
     
    992992 * @returns The recording context's current settings.
    993993 */
    994 const settings::RecordingSettings &RecordingContext::GetConfig(void) const
     994const settings::Recording &RecordingContext::GetConfig(void) const
    995995{
    996996    return m_Settings;
     
    10721072 * @param   pProgress           Progress object returned on success.
    10731073 */
    1074 int RecordingContext::Create(Console *ptrConsole, const settings::RecordingSettings &Settings, ComPtr<IProgress> &pProgress)
     1074int RecordingContext::Create(Console *ptrConsole, const settings::Recording &Settings, ComPtr<IProgress> &pProgress)
    10751075{
    10761076    return createInternal(ptrConsole, Settings, pProgress);
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