Changeset 64101 in vbox
- Timestamp:
- Sep 29, 2016 5:59:15 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 111056
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r63186 r64101 468 468 int i_setSessionStatus(GuestSessionStatus_T sessionStatus, int sessionRc); 469 469 int i_signalWaiters(GuestSessionWaitResult_T enmWaitResult, int rc /*= VINF_SUCCESS */); 470 int i_startTaskAsync(const Utf8Str &strTaskDesc, GuestSessionTask *pTask,471 ComObjPtr<Progress> &pProgress);472 470 int i_determineProtocolVersion(void); 473 471 int i_waitFor(uint32_t fWaitFlags, ULONG uTimeoutMS, GuestSessionWaitResult_T &waitResult, int *pGuestRc); -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r63584 r64101 2147 2147 } 2148 2148 2149 //int GuestSession::i_startTaskAsync(const Utf8Str &strTaskDesc,2150 // GuestSessionTask *pTask, ComObjPtr<Progress> &pProgress)2151 //{2152 // LogFlowThisFunc(("strTaskDesc=%s, pTask=%p\n", strTaskDesc.c_str(), pTask));2153 //2154 // AssertPtrReturn(pTask, VERR_INVALID_POINTER);2155 //2156 // /* Create the progress object. */2157 // HRESULT hr = pProgress.createObject();2158 // if (FAILED(hr))2159 // return VERR_COM_UNEXPECTED;2160 //2161 // hr = pProgress->init(static_cast<IGuestSession*>(this),2162 // Bstr(strTaskDesc).raw(),2163 // TRUE /* aCancelable */);2164 // if (FAILED(hr))2165 // return VERR_COM_UNEXPECTED;2166 //2167 // /* Initialize our worker task. */2168 // RT_GCC_NO_WARN_DEPRECATED_BEGIN2169 // std::auto_ptr<GuestSessionTask> task(pTask);2170 // RT_GCC_NO_WARN_DEPRECATED_END2171 // int rc = task->RunAsync(strTaskDesc, pProgress);2172 // if (RT_FAILURE(rc))2173 // return rc;2174 //2175 // /* Don't destruct on success. */2176 // task.release();2177 //2178 // LogFlowFuncLeaveRC(rc);2179 // return rc;2180 //}2181 2182 2149 /** 2183 2150 * Determines the protocol version (sets mData.mProtocolVersion).
Note:
See TracChangeset
for help on using the changeset viewer.