VirtualBox

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


Ignore:
Timestamp:
Mar 4, 2009 5:54:03 PM (16 years ago)
Author:
vboxsync
Message:

Main: Prototyped IHardDisk::autoReset and reset (including XML structure changes, backward compatible).

File:
1 edited

Legend:

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

    r16873 r17359  
    9797    STDMETHOD(COMGETTER(ReadOnly)) (BOOL *aReadOnly);
    9898    STDMETHOD(COMGETTER(LogicalSize)) (ULONG64 *aLogicalSize);
     99    STDMETHOD(COMGETTER(AutoReset)) (BOOL *aAutoReset);
     100    STDMETHOD(COMSETTER(AutoReset)) (BOOL aAutoReset);
    99101
    100102    // IHardDisk methods
     
    114116    STDMETHOD(FlattenTo) (IHardDisk *aTarget, IProgress **aProgress);
    115117    STDMETHOD(Compact) (IProgress **aProgress);
     118    STDMETHOD(Reset) (IProgress **aProgress);
    116119
    117120    // public methods for internal purposes only
     
    269272    struct Data
    270273    {
    271         Data() : type (HardDiskType_Normal), logicalSize (0)
     274        Data() : type (HardDiskType_Normal), logicalSize (0), autoReset (false)
    272275               , implicit (false), numCreateDiffTasks (0)
    273276               , vdProgress (NULL) , vdDiskIfaces (NULL) {}
     
    279282        uint64_t logicalSize;   /*< In MBytes. */
    280283
     284        BOOL autoReset : 1;
     285
    281286        typedef std::map <Bstr, Bstr> PropertyMap;
    282287        PropertyMap properties;
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