VirtualBox

Changeset 64101 in vbox


Ignore:
Timestamp:
Sep 29, 2016 5:59:15 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111056
Message:

Main: removed dead code

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestSessionImpl.h

    r63186 r64101  
    468468    int                     i_setSessionStatus(GuestSessionStatus_T sessionStatus, int sessionRc);
    469469    int                     i_signalWaiters(GuestSessionWaitResult_T enmWaitResult, int rc /*= VINF_SUCCESS */);
    470     int                     i_startTaskAsync(const Utf8Str &strTaskDesc, GuestSessionTask *pTask,
    471                                              ComObjPtr<Progress> &pProgress);
    472470    int                     i_determineProtocolVersion(void);
    473471    int                     i_waitFor(uint32_t fWaitFlags, ULONG uTimeoutMS, GuestSessionWaitResult_T &waitResult, int *pGuestRc);
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r63584 r64101  
    21472147}
    21482148
    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_BEGIN
    2169 //    std::auto_ptr<GuestSessionTask> task(pTask);
    2170 //    RT_GCC_NO_WARN_DEPRECATED_END
    2171 //    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 
    21822149/**
    21832150 * Determines the protocol version (sets mData.mProtocolVersion).
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette