VirtualBox

Changeset 14224 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Nov 14, 2008 4:17:20 PM (16 years ago)
Author:
vboxsync
Message:

Main: Added ISystemProperties::defaultHardDiskFormat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/SystemPropertiesImpl.h

    r13606 r14224  
    8080    STDMETHOD(COMSETTER(DefaultHardDiskFolder)) (INPTR BSTR aDefaultHardDiskFolder);
    8181    STDMETHOD(COMGETTER(HardDiskFormats)) (ComSafeArrayOut (IHardDiskFormat *, aHardDiskFormats));
     82    STDMETHOD(COMGETTER(DefaultHardDiskFormat)) (BSTR *aDefaultHardDiskFolder);
     83    STDMETHOD(COMSETTER(DefaultHardDiskFormat)) (INPTR BSTR aDefaultHardDiskFolder);
    8284    STDMETHOD(COMGETTER(RemoteDisplayAuthLibrary)) (BSTR *aRemoteDisplayAuthLibrary);
    8385    STDMETHOD(COMSETTER(RemoteDisplayAuthLibrary)) (INPTR BSTR aRemoteDisplayAuthLibrary);
     
    103105    const Bstr &defaultHardDiskFolderFull() const { return mDefaultHardDiskFolderFull; }
    104106
     107    /** Default hard disk format. Not thread safe (use object lock). */
     108    const Bstr &defaultHardDiskFormat() const { return mDefaultHardDiskFormat; }
     109
    105110    // for VirtualBoxSupportErrorInfoImpl
    106111    static const wchar_t *getComponentName() { return L"SystemProperties"; }
     
    112117    HRESULT setDefaultMachineFolder (const BSTR aPath);
    113118    HRESULT setDefaultHardDiskFolder (const BSTR aPath);
     119    HRESULT setDefaultHardDiskFormat (const BSTR aFormat);
     120
    114121    HRESULT setRemoteDisplayAuthLibrary (const BSTR aPath);
    115122    HRESULT setWebServiceAuthLibrary (const BSTR aPath);
     
    121128    Bstr mDefaultHardDiskFolder;
    122129    Bstr mDefaultHardDiskFolderFull;
     130    Bstr mDefaultHardDiskFormat;
    123131
    124132    HardDiskFormatList mHardDiskFormats;
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