Lines Matching defs:task

5210  * @param task
5213 void Machine::i_deleteConfigHandler(DeleteConfigTask &task)
5225 task.m_pProgress->i_notifyComplete(rc);
5250 for (size_t i = 0; i < task.m_llMediums.size(); ++i)
5252 ComObjPtr<Medium> pMedium = (Medium*)(IMedium*)(task.m_llMediums.at(i));
5257 rc = task.m_pProgress->SetNextOperation(BstrFmt(tr("Deleting '%s'"), strLocation.c_str()).raw(), 1);
5266 rc = task.m_pProgress->WaitForAsyncProgressCompletion(pProgress2);
5290 // delete the files pushed on the task list by Machine::Delete()
5294 StringsList::const_iterator it = task.m_llFilesToDelete.begin();
5295 while (it != task.m_llFilesToDelete.end())
5305 if (it == task.m_llFilesToDelete.end())
5307 rc = task.m_pProgress->SetNextOperation(Bstr(tr("Cleaning up machine directory")).raw(), 1);
5312 rc = task.m_pProgress->SetNextOperation(BstrFmt(tr("Deleting '%s'"), it->c_str()).raw(), 1);
5385 task.m_pProgress->i_notifyComplete(rc);
5434 /* create and start the task on a separate thread (note that it will not
12738 // SessionMachine task records
12773 * @param task
12776 void SessionMachine::i_saveStateHandler(SaveStateTask &task)
12788 task.m_pProgress->i_notifyComplete(rc);
12807 rc = directControl->SaveStateWithReason(task.m_enmReason, task.m_pProgress, Bstr(task.m_strStateFilePath).raw(), task.m_machineStateBackup != MachineState_Paused, &fSuspendedBySave);
12817 mSSData->strStateFilePath = task.m_strStateFilePath;
12827 i_setMachineState(task.m_machineStateBackup);
12833 RTFileDelete(task.m_strStateFilePath.c_str());
12838 task.m_pProgress->i_notifyComplete(rc);
12877 /* create and start the task on a separate thread (note that it will not
13064 /* fill in the console task data */
13094 * task). On success the VM process already changed the state to
14589 // it's our responsibility to delete the task