VirtualBox

Changeset 62014 in vbox for trunk


Ignore:
Timestamp:
Jul 4, 2016 4:18:43 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108472
Message:

Main/Machine: add a stub for an aux settings file (which will be an additional file, for the current state and each snapshot), meant for stuff which needs to be saved potentially frequently while the VM is running. It should cover what aren't true settings, in the sense of not being subject to the usual saveSettings/discardSettings machinery. Usually rather bulky stuff.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r61915 r62014  
    43634363  <interface
    43644364    name="IMachine" extends="$unknown"
    4365     uuid="95565a66-622a-4ad0-4eed-9bb83c91c5be"
     4365    uuid="b2547866-a0a1-4391-8b86-6952d82efaa0"
    43664366    wsmap="managed"
    43674367    wrap-hint-server-addinterfaces="IInternalMachineControl"
    43684368    wrap-hint-server="manualaddinterfaces"
    4369     reservedMethods="8" reservedAttributes="10"
     4369    reservedMethods="7" reservedAttributes="10"
    43704370    >
    43714371    <!-- Note! This interface is not compatible between 5.0 and 5.1 as it had too many
     
    48434843    </attribute>
    48444844
     4845    <attribute name="settingsAuxFilePath" type="wstring" readonly="yes" wrap-hint-server="limitedcaller">
     4846      <desc>
     4847        Full name of the file containing auxiliary machine settings data.
     4848      </desc>
     4849    </attribute>
     4850
    48454851    <attribute name="settingsModified" type="boolean" readonly="yes">
    48464852      <desc>
     
    59905996      </param>
    59915997    </method>
    5992 
    59935998
    59945999    <method name="unmountMedium">
  • trunk/src/VBox/Main/include/MachineImpl.h

    r61042 r62014  
    932932    HRESULT getStorageControllers(std::vector<ComPtr<IStorageController> > &aStorageControllers);
    933933    HRESULT getSettingsFilePath(com::Utf8Str &aSettingsFilePath);
     934    HRESULT getSettingsAuxFilePath(com::Utf8Str &aSettingsAuxFilePath);
    934935    HRESULT getSettingsModified(BOOL *aSettingsModified);
    935936    HRESULT getSessionState(SessionState_T *aSessionState);
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r61788 r62014  
    27332733
    27342734    return S_OK;
     2735}
     2736
     2737HRESULT Machine::getSettingsAuxFilePath(com::Utf8Str &aSettingsFilePath)
     2738{
     2739    ReturnComNotImplemented();
    27352740}
    27362741
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