VirtualBox

Ignore:
Timestamp:
Oct 30, 2008 1:04:36 PM (16 years ago)
Author:
vboxsync
Message:

Main: Added the Name, Capabilities, ConfigNames attributes. Removed all support* methods.

File:
1 edited

Legend:

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

    r13580 r13673  
    1 /* $Id $ */
     1/* $Id$ */
    22
    33/** @file
     
    4343    VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (HardDiskFormat)
    4444
    45     DECLARE_NOT_AGGREGATABLE(HardDiskFormat)
     45    DECLARE_NOT_AGGREGATABLE (HardDiskFormat)
    4646
    4747    DECLARE_PROTECT_FINAL_CONSTRUCT()
    4848
    4949    BEGIN_COM_MAP(HardDiskFormat)
    50         COM_INTERFACE_ENTRY(ISupportErrorInfo)
    51         COM_INTERFACE_ENTRY(IHardDiskFormat)
     50        COM_INTERFACE_ENTRY (ISupportErrorInfo)
     51        COM_INTERFACE_ENTRY (IHardDiskFormat)
    5252    END_COM_MAP()
    5353
     
    6060
    6161    // public initializer/uninitializer for internal purposes only
    62     HRESULT init (VDBACKENDINFO *aVDInfo);
     62    HRESULT init (const VDBACKENDINFO *aVDInfo);
    6363    void uninit();
    6464
    6565    // IHardDiskFormat properties
    6666    STDMETHOD(COMGETTER(Id)) (BSTR *aId);
     67    STDMETHOD(COMGETTER(Name)) (BSTR *aName);
     68    STDMETHOD(COMGETTER(FileExtensions)) (ComSafeArrayOut (BSTR, aFileExtensions));
    6769
    68     STDMETHOD(COMGETTER(SupportUuid) (BOOL *aBool));
    69     STDMETHOD(COMGETTER(SupportCreateFixed) (BOOL *aBool));
    70     STDMETHOD(COMGETTER(SupportCreateDynamic) (BOOL *aBool));
    71     STDMETHOD(COMGETTER(SupportCreateSplit2G) (BOOL *aBool));
    72     STDMETHOD(COMGETTER(SupportDiff) (BOOL *aBool));
    73     STDMETHOD(COMGETTER(SupportASync) (BOOL *aBool));
    74     STDMETHOD(COMGETTER(SupportFile) (BOOL *aBool));
    75     STDMETHOD(COMGETTER(SupportConfig) (BOOL *aBool));
    76 
    77     STDMETHOD(COMGETTER(FileExtensions)) (ComSafeArrayOut (BSTR, aFileExtensions));
     70    STDMETHOD(COMGETTER(Capabilities)) (ULONG *aCaps);
     71    STDMETHOD(COMGETTER(ConfigNames)) (ComSafeArrayOut (BSTR, aConfigNames));
    7872
    7973    // public methods only for internal purposes
     
    9488
    9589        const Bstr id;
     90        const Bstr name;
     91        const BstrList fileExtensions;
    9692        const uint64_t capabilities;
    97         const BstrList fileExtensions;
     93        const BstrList configNames;
    9894    };
    9995
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