VirtualBox

Changeset 56610 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 23, 2015 5:36:23 PM (9 years ago)
Author:
vboxsync
Message:

Main/Machine: add stub of a new method which will apply the VM default settings for the guest OS type

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

Legend:

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

    r56596 r56610  
    41814181  <interface
    41824182    name="IMachine" extends="$unknown"
    4183     uuid="5c3e5503-40c1-f2bb-a949-26b413aa541a"
     4183    uuid="703510de-8d5e-411b-a25b-378b03382bac"
    41844184    wsmap="managed"
    41854185    wrap-hint-server-addinterfaces="IInternalMachineControl"
     
    75897589    </method>
    75907590
     7591    <method name="applyDefaults">
     7592      <desc>
     7593        Applies the defaults for the configured guest OS type. This is
     7594        primarily for getting sane settings straight after creating a
     7595        new VM, but it can also be applied later.
     7596
     7597        <note>
     7598          This is primarily a shortcut, centralizing the tedious job of
     7599          getting the recommended settings and translating them into
     7600          settings updates. The settings are made at the end of the call,
     7601          but not saved.
     7602        </note>
     7603
     7604        <result name="E_NOTIMPL">
     7605          This method is not implemented yet.
     7606        </result>
     7607      </desc>
     7608      <param name="flags" type="wstring" dir="in">
     7609        <desc>
     7610          Additional flags, to be defined later.
     7611        </desc>
     7612      </param>
     7613    </method>
     7614
    75917615  </interface>
    75927616
     
    94809504  <interface
    94819505    name="IGuestOSType" extends="$unknown"
    9482     uuid="d7cb0243-97bf-48ac-9d44-1c3bade5ea0f"
     9506    uuid="03cd409d-20f5-43f9-8de1-4a129620990b"
    94839507    wsmap="struct"
    9484     reservedAttributes="8"
     9508    reservedAttributes="16"
    94859509    >
    94869510    <desc>
  • trunk/src/VBox/Main/include/MachineImpl.h

    r56035 r56610  
    12021202    HRESULT restoreSnapshot(const ComPtr<ISnapshot> &aSnapshot,
    12031203                            ComPtr<IProgress> &aProgress);
     1204    HRESULT applyDefaults(const com::Utf8Str &aFlags);
    12041205
    12051206    // wrapped IInternalMachineControl properties
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r56595 r56610  
    1474414744}
    1474514745
     14746HRESULT Machine::applyDefaults(const com::Utf8Str &aFlags)
     14747{
     14748    NOREF(aFlags);
     14749    ReturnComNotImplemented();
     14750}
     14751
    1474614752/* This isn't handled entirely by the wrapper generator yet. */
    1474714753#ifdef VBOX_WITH_XPCOM
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