Changeset 54948 in vbox for trunk/src/VBox/Main/include/MediumImpl.h
- Timestamp:
- Mar 25, 2015 4:56:48 PM (10 years ago)
- File:
-
- 1 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);
Note:
See TracChangeset
for help on using the changeset viewer.