bool PrePostProcessor::EditList(DownloadQueue* downloadQueue, IdList* idList, DownloadQueue::EEditAction action, int offset, const char* text) { debug("Edit-command for post-processor received"); switch (action) { case DownloadQueue::eaPostDelete: return PostQueueDelete(downloadQueue, idList); default: return false; } }
bool PrePostProcessor::QueueEditList(IDList* pIDList, EEditAction eAction, int iOffset, const char* szText) { debug("Edit-command for post-processor received"); switch (eAction) { case eaPostMoveOffset: case eaPostMoveTop: case eaPostMoveBottom: return PostQueueMove(pIDList, eAction, iOffset); case eaPostDelete: return PostQueueDelete(pIDList); case eaHistoryDelete: case eaHistoryReturn: case eaHistoryProcess: case eaHistorySetParameter: return HistoryEdit(pIDList, eAction, iOffset, szText); default: return false; } }