-
Notifications
You must be signed in to change notification settings - Fork 0
/
7zipExeCall.h
41 lines (32 loc) · 983 Bytes
/
7zipExeCall.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/********************************************************************
* 创建日期: 2017/06/11 15:44:36
* 文件路劲: E:\code\MyProjects\ModifyHosts
* 文 件 名: 7zipExeCall.h
* 作 者: 汤达荣
* 邮 箱: [email protected]
* 版 本: v1.0.0
* 版 权:
* 描 述:
*********************************************************************/
#ifndef _7zipExeCall_h
#define _7zipExeCall_h
#include<iostream>
#include<vector>
using namespace std;
namespace unidst
{
class C7zipExeCall
{
public:
C7zipExeCall();
~C7zipExeCall();
public:
int ExeCall(const string &operation, const string &filePath, const string ¶meters);
public:
//解压文件
static int ExtractsFiles(const string &operation, const string &filePath, const string &arcDir, const string &outDir, const string &password);
//压缩文件
static int AchiveFiles(const string &operation, const string &filePath, const string &arcName, const vector<string> arcFiles, const string &password);
};
}
#endif