Changeset 54948 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Mar 25, 2015 4:56:48 PM (10 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/MediumImpl.h
r54885 r54948 1 1 /* $Id$ */ 2 3 2 /** @file 4 *5 3 * VirtualBox COM class implementation 6 4 */ … … 72 70 73 71 // initializer used when loading settings 72 HRESULT initOne(Medium *aParent, 73 DeviceType_T aDeviceType, 74 const Guid &uuidMachineRegistry, 75 const settings::Medium &data, 76 const Utf8Str &strMachineFolder); 74 77 HRESULT init(VirtualBox *aVirtualBox, 75 78 Medium *aParent, … … 77 80 const Guid &uuidMachineRegistry, 78 81 const settings::Medium &data, 79 const Utf8Str &strMachineFolder); 82 const Utf8Str &strMachineFolder, 83 AutoWriteLock &mediaTreeLock); 80 84 81 85 // initializer for host floppy/DVD … … 109 113 110 114 /* handles caller/locking itself */ 111 bool i_addRegistry(const Guid& id, bool fRecurse); 115 bool i_addRegistry(const Guid &id); 116 /* handles caller/locking itself, caller is responsible for tree lock */ 117 bool i_addRegistryRecursive(const Guid &id); 112 118 /* handles caller/locking itself */ 113 bool i_removeRegistry(const Guid& id, bool fRecurse); 119 bool i_removeRegistry(const Guid& id); 120 /* handles caller/locking itself, caller is responsible for tree lock */ 121 bool i_removeRegistryRecursive(const Guid& id); 114 122 bool i_isInRegistry(const Guid& id); 115 123 bool i_getFirstRegistryMachineId(Guid &uuid) const; … … 135 143 HRESULT i_updatePath(const Utf8Str &strOldPath, const Utf8Str &strNewPath); 136 144 145 /* handles caller/locking itself */ 137 146 ComObjPtr<Medium> i_getBase(uint32_t *aLevel = NULL); 147 /* handles caller/locking itself */ 148 uint32_t i_getDepth(); 138 149 139 150 bool i_isReadOnly(); 140 151 void i_updateId(const Guid &id); 141 152 153 void i_saveSettingsOne(settings::Medium &data, 154 const Utf8Str &strHardDiskFolder); 142 155 HRESULT i_saveSettings(settings::Medium &data, 143 156 const Utf8Str &strHardDiskFolder); -
trunk/src/VBox/Main/include/SnapshotImpl.h
r50504 r54948 1 1 /* $Id$ */ 2 3 2 /** @file 4 *5 3 * VirtualBox COM class implementation 6 4 */ 7 5 8 6 /* 9 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2015 Oracle Corporation 10 8 * 11 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 92 90 Snapshot *pSnapshotToIgnore); 93 91 94 HRESULT i_saveSnapshot(settings::Snapshot &data, bool aAttrsOnly); 95 HRESULT i_saveSnapshotImpl(settings::Snapshot &data, bool aAttrsOnly); 92 HRESULT i_saveSnapshot(settings::Snapshot &data) const; 93 HRESULT i_saveSnapshotImpl(settings::Snapshot &data) const; 94 HRESULT i_saveSnapshotImplOne(settings::Snapshot &data) const; 96 95 96 HRESULT i_uninitOne(AutoWriteLock &writeLock, 97 CleanupMode_T cleanupMode, 98 MediaList &llMedia, 99 std::list<Utf8Str> &llFilenames); 97 100 HRESULT i_uninitRecursively(AutoWriteLock &writeLock, 98 101 CleanupMode_T cleanupMode, -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r54438 r54948 93 93 HRESULT initMachines(); 94 94 HRESULT initMedia(const Guid &uuidMachineRegistry, 95 const settings::MediaRegistry mediaRegistry,95 const settings::MediaRegistry &mediaRegistry, 96 96 const Utf8Str &strMachineFolder); 97 97 void uninit(); … … 230 230 HRESULT i_saveSettings(); 231 231 void i_markRegistryModified(const Guid &uuid); 232 void i_unmarkRegistryModified(const Guid &uuid); 232 233 void i_saveModifiedRegistries(); 233 234 static const com::Utf8Str &i_getVersionNormalized();
Note:
See TracChangeset
for help on using the changeset viewer.