- Timestamp:
- Feb 4, 2016 5:41:00 PM (9 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ApplianceImpl.h
r59577 r59586 152 152 * @{ 153 153 */ 154 HRESULTi_readImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress);154 void i_readImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress); 155 155 156 156 HRESULT i_readFS(TaskOVF *pTask); -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r59582 r59586 91 91 /* Parse all necessary info out of the URI */ 92 92 i_parseURI(aFile, m->locInfo); 93 rc =i_readImpl(m->locInfo, progress);93 i_readImpl(m->locInfo, progress); 94 94 } 95 95 catch (HRESULT aRC) … … 845 845 * @param aLocInfo The OVF location. 846 846 * @param aProgress Where to return the progress object. 847 * @ return COM success status code.COM error codes will be thrown.847 * @throws COM error codes will be thrown. 848 848 */ 849 HRESULTAppliance::i_readImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress)849 void Appliance::i_readImpl(const LocationInfo &aLocInfo, ComObjPtr<Progress> &aProgress) 850 850 { 851 851 BstrFmt bstrDesc = BstrFmt(tr("Reading appliance '%s'"), … … 872 872 873 873 /* Initialize our worker task */ 874 TaskOVF *task = NULL;874 TaskOVF *task = NULL; 875 875 try 876 876 { … … 880 880 { 881 881 delete task; 882 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,883 882 throw setError(VBOX_E_OBJECT_NOT_FOUND, 883 tr("Could not create TaskOVF object for reading the OVF from disk")); 884 884 } 885 885 886 886 rc = task->createThread(); 887 887 if (FAILED(rc)) throw rc; 888 889 return rc;890 888 } 891 889
Note:
See TracChangeset
for help on using the changeset viewer.