VirtualBox

Changeset 48505 in vbox


Ignore:
Timestamp:
Sep 17, 2013 3:48:55 PM (11 years ago)
Author:
vboxsync
Message:

Main/Machine: preparations for moving machines to a different place on disk

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

Legend:

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

    r48431 r48505  
    41224122  <interface
    41234123    name="IMachine" extends="$unknown"
    4124     uuid="59b33148-7f87-4224-82a7-d141ef49fc0d"
     4124    uuid="8c931034-83f6-46b8-97f0-31e70d30402e"
    41254125    wsmap="managed"
    41264126    >
     
    45484548    </attribute>
    45494549
    4550     <attribute name="settingsFilePath" type="wstring" readonly="yes">
     4550    <attribute name="settingsFilePath" type="wstring">
    45514551      <desc>
    45524552        Full name of the file containing machine settings data.
     4553
     4554        Currently, it is an error to change this property on any machine.
     4555        Later this will allow setting a new path for the settings file, with
     4556        automatic relocation of all files (including snapshots and disk images)
     4557        which are inside the base directory.
     4558
     4559        <note>
     4560          Setting this property to @c null or to an empty string is forbidden.
     4561        </note>
     4562        <note>
     4563          When setting this property, the specified path must be absolute. When
     4564          reading this property, an absolute (full) path is always returned.
     4565        </note>
     4566        <note>
     4567          The specified path may not exist, it will be created when necessary.
     4568        </note>
    45534569      </desc>
    45544570    </attribute>
  • trunk/src/VBox/Main/include/MachineImpl.h

    r48431 r48505  
    457457    STDMETHOD(COMGETTER(USBDeviceFilters))(IUSBDeviceFilters * *aUSBDeviceFilters);
    458458    STDMETHOD(COMGETTER(SettingsFilePath))(BSTR *aFilePath);
     459    STDMETHOD(COMSETTER(SettingsFilePath))(IN_BSTR aFilePath);
    459460    STDMETHOD(COMGETTER(SettingsModified))(BOOL *aModified);
    460461    STDMETHOD(COMGETTER(SessionState))(SessionState_T *aSessionState);
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r48431 r48505  
    27522752    mData->m_strConfigFileFull.cloneTo(aFilePath);
    27532753    return S_OK;
     2754}
     2755
     2756STDMETHODIMP Machine::COMSETTER(SettingsFilePath)(IN_BSTR aFilePath)
     2757{
     2758    CheckComArgStrNotEmptyOrNull(aFilePath);
     2759
     2760    AutoCaller autoCaller(this);
     2761    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     2762
     2763    ReturnComNotImplemented();
    27542764}
    27552765
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