GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
ArchiveFileOperator.h
1 
29 #pragma once
30 
31 #include "core/GpgFrontendCore.h"
32 #include "core/model/GFDataExchanger.h"
33 #include "core/typedef/CoreTypedef.h"
34 #include "core/utils/IOUtils.h"
35 
36 namespace GpgFrontend {
37 
38 class GPGFRONTEND_CORE_EXPORT ArchiveFileOperator {
39  public:
45  static void ListArchive(const QString &archive_path);
46 
55  static void NewArchive2DataExchanger(const QString &target_directory,
56  std::shared_ptr<GFDataExchanger>,
57  const OperationCallback &cb);
58 
65  static void ExtractArchiveFromDataExchanger(
66  std::shared_ptr<GFDataExchanger> fd, const QString &target_path,
67  const OperationCallback &cb);
68 };
69 } // namespace GpgFrontend
Definition: ArchiveFileOperator.h:38
Definition: app.cpp:39