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 //
43 // 圧縮・解凍用コンストラクタ
44 ARC7ZIP(HWND hwnd, const WSTR& name, TYPE type);
45 // 閲覧用コンストラクタ
46 ARC7ZIP(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
47 // 全解凍
48 COMPLETE Extract(bool verify, const WSTR& temp, const WSTR& password);
49 // 個別解凍
50 COMPLETE Extract(const WSTR& temp);
51 // 圧縮
52 bool Compress(int method, int header, const WSTR& pass, const PATH& temp, const std::vector<LHAZPROCFILE>& v);
53 // 個別削除
54 bool Delete(const std::vector<LHAZFILE*>& v);
55 // 書庫判定
56 static ISARCHIVE IsArchive7Zip(const WSTR& name);
57 // ファイル情報設定
58 void Set(LHAZFILE*);
59 //
60 void AddTotal(UINT64 t) { Total += t; }
61 //
62 void IsSameDir(const WSTR& name);
63
64private:
65 WSTR DirBuf;
66 //
67 COMPLETE Extract(const std::vector<WSTR>& v, bool verify, const WSTR& pass);
68 int SevenZipList(const TCHAR* name, gui::LHAZTREEVIEW* treeview);
69
70};
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_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:65
void Set(LHAZFILE *)
static const TCHAR *const ENCRYPTMETHODS[]
Definition lhaz7zip.h:25
EncryptionMethodID
Definition lhaz7zip.h:37
@ ZipCrypto
Definition lhaz7zip.h:38
@ AES128
Definition lhaz7zip.h:39
@ AES256
Definition lhaz7zip.h:41
@ AES192
Definition lhaz7zip.h:40
void AddTotal(UINT64 t)
Definition lhaz7zip.h:60
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:55
TYPE
Definition lhazarc.h:28
LONGLONG Total
Definition lhazarc.h:121
Definition lhazfile.h:14
Definition lhaztreeview.h:18
Archive
¥ type v
Definition lhazregs.h:21
Definition lhazbz2.h:17