Changeset 78761 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 26, 2019 4:31:12 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/MachineImplMoveVM.h
r76562 r78761 68 68 struct ErrorInfoItem 69 69 { 70 ErrorInfoItem(HRESULT aCode, const char* aDescription) :71 m_code(aCode),72 m_description(aDescription == NULL ? "There is no description" : aDescription)70 ErrorInfoItem(HRESULT aCode, const char* aDescription) 71 : m_code(aCode) 72 , m_description(aDescription == NULL ? "There is no description" : aDescription) 73 73 { 74 74 } … … 80 80 }; 81 81 82 RTCList<MEDIUMTASKCHAINMOVE> llMedias; 83 RTCList<SAVESTATETASKMOVE> llSaveStateFiles; 84 std::map<Utf8Str, MEDIUMTASKMOVE> finalMediumsMap; 85 std::map<Utf8Str, SAVESTATETASKMOVE> finalSaveStateFilesMap; 86 std::map<VBoxFolder_t, Utf8Str> vmFolders; 87 std::list<ErrorInfoItem> errorsList; 82 /** @todo r=bird: Why no m_ prefixes here? */ 83 RTCList<MEDIUMTASKCHAINMOVE> llMedias; 84 RTCList<SAVESTATETASKMOVE> llSaveStateFiles; 85 std::map<Utf8Str, MEDIUMTASKMOVE> finalMediumsMap; 86 std::map<Utf8Str, SAVESTATETASKMOVE> finalSaveStateFilesMap; 87 std::map<VBoxFolder_t, Utf8Str> vmFolders; 88 std::list<ErrorInfoItem> errorsList; 88 89 89 90 ComObjPtr<Machine> m_pMachine; … … 94 95 Utf8Str m_targetPath; 95 96 Utf8Str m_type; 96 HRESULT result; 97 HRESULT result; /**< @todo r=bird: Why no m_ prefix here? */ 97 98 98 99 public: … … 101 102 const com::Utf8Str &aType, 102 103 ComObjPtr<Progress> &aProgress) 103 : ThreadTask("TaskMoveVM"),104 m_pMachine(aMachine),105 m_pProgress(aProgress),106 m_targetPath(aTargetPath),107 m_type (aType.isEmpty() == true ? "basic" : aType),108 result(S_OK)104 : ThreadTask("TaskMoveVM") 105 , m_pMachine(aMachine) 106 , m_pProgress(aProgress) 107 , m_targetPath(aTargetPath) 108 , m_type(aType.isEmpty() ? "basic" : aType) 109 , result(S_OK) 109 110 { 110 111 }
Note:
See TracChangeset
for help on using the changeset viewer.