VirtualBox

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


Ignore:
Timestamp:
Jul 29, 2010 7:44:50 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64239
Message:

Main: beginnings of deleting all snapshots in Machine::Unregister() -- works partially, more to be done

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

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

    r31218 r31228  
    778778    HRESULT detachDevice(MediumAttachment *pAttach,
    779779                         AutoWriteLock &writeLock,
     780                         Snapshot *pSnapshot,
    780781                         bool *pfNeedsSaveSettings);
     782    HRESULT detachAllMedia(AutoWriteLock &writeLock,
     783                           Snapshot *pSnapshot,
     784                           MediaList &llMedia);
    781785
    782786    void commitMedia(bool aOnline = false);
  • trunk/src/VBox/Main/include/SnapshotImpl.h

    r30764 r31228  
    3333
    3434class ATL_NO_VTABLE Snapshot :
    35     public VirtualBoxBase, // WithTypedChildren<Snapshot>,
     35    public VirtualBoxBase,
    3636    VBOX_SCRIPTABLE_IMPL(ISnapshot)
    3737{
     
    124124    HRESULT saveSnapshotImpl(settings::Snapshot &data, bool aAttrsOnly);
    125125
     126    HRESULT uninitRecursively(AutoWriteLock &writeLock,
     127                              MediaList &llMedia,
     128                              std::list<Utf8Str> &llFilenames);
     129
    126130private:
    127131    struct Data;            // opaque, defined in SnapshotImpl.cpp
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette