if(m_created_as_new_empty_archive) {
//We do not call progress callback since we do not have any ArchiveFileEntry
callback->callSuccessCallbackOnMainThread();
- callback = NULL;
return PlatformResult(ErrorCode::NO_ERROR);
}
else {
}
callback->callSuccessCallbackOnMainThread();
- callback = NULL;
return PlatformResult(ErrorCode::NO_ERROR);
}
// after finish extracting success callback will be called
callback->callSuccessCallbackOnMainThread();
- callback = NULL;
return PlatformResult(ErrorCode::NO_ERROR);
}
const std::string& extract_path,
const std::string& base_strip_path,
BaseProgressCallback* callback);
+
+ //Not copyable, assignable
+ UnZipExtractRequest(UnZipExtractRequest const&) = delete;
+ UnZipExtractRequest& operator=(UnZipExtractRequest const&) = delete;
+
PlatformResult run();
PlatformResult getCurrentFileInfo();
PlatformResult handleDirectoryEntry();
private:
ZipAddRequest(Zip& owner, AddProgressCallback*& callback);
+ ZipAddRequest(ZipAddRequest const&) = delete;
+ ZipAddRequest& operator=(ZipAddRequest const&) = delete;
+
PlatformResult run();
void addNodeAndSubdirsToList(filesystem::NodePtr src_node,