void CWizKbSync::onDeletedGetList(const std::deque<WIZDELETEDGUIDDATA>& arrayRet) { CWizApi::onDeletedGetList(arrayRet); m_arrayAllDeletedsDownloaded.insert(m_arrayAllDeletedsDownloaded.end(), arrayRet.begin(), arrayRet.end()); if (arrayRet.size() < WIZAPI_PAGE_MAX) { onDownloadDeletedsCompleted(); } else { downloadNextDeleteds(WizObjectsGetMaxVersion<WIZDELETEDGUIDDATA>(arrayRet)); } }
void CWizSync::onDeletedGetList(const std::deque<WIZDELETEDGUIDDATA>& arrayRet) { CWizApi::onDeletedGetList(arrayRet); if (arrayRet.size() < getCountPerPage()) { onDownloadDeletedsCompleted(); } else { downloadNextDeleteds(WizObjectsGetMaxVersion<WIZDELETEDGUIDDATA>(arrayRet)); } }
void CWizKbSync::onDeletedGetList(const CWizDeletedGUIDDataArray &arrayRet) { m_db->UpdateDeletedGUIDs(arrayRet); m_arrayAllDeletedsDownloaded.insert(m_arrayAllDeletedsDownloaded.end(), arrayRet.begin(), arrayRet.end()); qDebug() << "[Syncing]download size: " << m_arrayAllDeletedsDownloaded.size(); if (arrayRet.size() < WIZAPI_PAGE_MAX) { onDownloadDeletedsCompleted(); } else { downloadNextDeleteds(WizObjectsGetMaxVersion<WIZDELETEDGUIDDATA>(arrayRet)); } }