Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaz7zip.h
[詳解]
1/*************************************************************************/
6#pragma once
7
8#include <vector>
9#include "lhazarc.h"
10#include "altstr.hpp"
11
12class PATH;
13
14namespace gui {
15
16class LHAZTREEVIEW;
17
18} // namespace gui
19
20/*************************************************************************/
23class ARC7ZIP : public ARCHIVE {
24public:
25 static const TCHAR* const ENCRYPTMETHODS[];
26 //
45 // 圧縮・解凍用コンストラクタ
46 ARC7ZIP(HWND hwnd, const WSTR& name, TYPE type);
47 // 閲覧用コンストラクタ
48 ARC7ZIP(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
49 // 全解凍
50 COMPLETE Extract(bool verify, const WSTR& temp, const WSTR& password);
51 // 個別解凍
52 COMPLETE Extract(const WSTR& temp);
53 // 圧縮
54 bool Compress(int method, int header, const WSTR& pass, const PATH& temp, const std::vector<LHAZPROCFILE>& v);
55 // 個別削除
56 bool Delete(const std::vector<LHAZFILE*>& v);
57 // 書庫判定
58 static ISARCHIVE IsArchive7Zip(const WSTR& name);
59 // ファイル情報設定
60 void Set(LHAZFILE*);
61 //
62 void AddTotal(UINT64 t) { Total += t; }
63 //
64 void IsSameDir(const WSTR& name);
65
66private:
67 WSTR DirBuf;
68 //
69 COMPLETE Extract(const std::vector<WSTR>& v, bool verify, const WSTR& pass);
70 int SevenZipList(const TCHAR* name, gui::LHAZTREEVIEW* treeview);
71
72};
7-Zip書庫
Definition lhaz7zip.h:23
bool Compress(int method, int header, const WSTR &pass, const PATH &temp, const std::vector< LHAZPROCFILE > &v)
ARC7ZIP(HWND hwnd, const WSTR &name, TYPE type, const WSTR &filter, gui::LHAZTREEVIEW *treeview)
METHOD
Definition lhaz7zip.h:32
@ SZIP_METHOD_7ZIP
Definition lhaz7zip.h:33
@ SZIP_METHOD_ENCZIP
Definition lhaz7zip.h:36
@ SZIP_METHOD_ZIP
Definition lhaz7zip.h:35
@ SZIP_METHOD_PPMD
Definition lhaz7zip.h:34
ISARCHIVE
Definition lhaz7zip.h:27
@ BAD_PASSWORD
Definition lhaz7zip.h:30
@ NO_7ZIP
Definition lhaz7zip.h:28
@ YES_7ZIP
Definition lhaz7zip.h:29
WSTR DirBuf
Definition lhaz7zip.h:67
void Set(LHAZFILE *)
static const TCHAR *const ENCRYPTMETHODS[]
Definition lhaz7zip.h:25
EncryptionMethodID
Definition lhaz7zip.h:38
@ ZipCrypto
Definition lhaz7zip.h:40
@ AES128
Definition lhaz7zip.h:41
@ AES256
Definition lhaz7zip.h:43
@ AES192
Definition lhaz7zip.h:42
@ NON
Definition lhaz7zip.h:39
void AddTotal(UINT64 t)
Definition lhaz7zip.h:62
COMPLETE Extract(const WSTR &temp)
bool Delete(const std::vector< LHAZFILE * > &v)
static ISARCHIVE IsArchive7Zip(const WSTR &name)
ARC7ZIP(HWND hwnd, const WSTR &name, TYPE type)
COMPLETE Extract(const std::vector< WSTR > &v, bool verify, const WSTR &pass)
int SevenZipList(const TCHAR *name, gui::LHAZTREEVIEW *treeview)
COMPLETE Extract(bool verify, const WSTR &temp, const WSTR &password)
void IsSameDir(const WSTR &name)
Definition lhazarc.h:25
COMPLETE
Definition lhazarc.h:56
TYPE
Definition lhazarc.h:28
LONGLONG Total
Definition lhazarc.h:123
Definition lhazfile.h:14
Definition lhaztreeview.h:18
Archive
¥ type v
Definition lhazregs.h:21
Definition lhazbz2.h:17