Changeset 25152 in vbox for trunk/src/VBox/Main/include/SnapshotImpl.h
- Timestamp:
- Dec 2, 2009 5:37:39 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55574
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/SnapshotImpl.h
r24196 r25152 73 73 void beginDiscard(); 74 74 75 void deparent(); 76 75 77 // ISnapshot properties 76 78 STDMETHOD(COMGETTER(Id)) (BSTR *aId); … … 88 90 89 91 // public methods only for internal purposes 92 const ComObjPtr<Snapshot>& getParent() const; 90 93 91 94 const Utf8Str& stateFilePath() const; 92 93 ComObjPtr<Snapshot> parent() const94 {95 return (Snapshot*)mParent;96 }97 95 98 96 ULONG getChildrenCount(); … … 100 98 ULONG getAllChildrenCountImpl(); 101 99 102 ComPtr<SnapshotMachine> getSnapshotMachine();100 const ComObjPtr<SnapshotMachine>& getSnapshotMachine() const; 103 101 104 102 Guid getId() const; … … 124 122 125 123 private: 126 127 /** weak VirtualBox parent */128 const ComObjPtr<VirtualBox, ComWeakRef> mVirtualBox;129 130 ComObjPtr<Snapshot, ComWeakRef> mParent;131 132 124 struct Data; // opaque, defined in SnapshotImpl.cpp 133 125 Data *m;
Note:
See TracChangeset
for help on using the changeset viewer.