| 162 | } |
| 163 | |
| 164 | void CUpdater::FetchFile(const char *pFile, const char *pDestPath) |
| 165 | { |
| 166 | const CLockScope LockScope(m_Lock); |
| 167 | m_pCurrentTask = std::make_shared<CUpdaterFetchTask>(this, pFile, pDestPath); |
| 168 | str_copy(m_aStatus, m_pCurrentTask->Dest()); |
| 169 | m_pHttp->Run(m_pCurrentTask); |
| 170 | } |
| 171 | |
| 172 | bool CUpdater::MoveFile(const char *pFile) |
| 173 | { |