Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaztbz.h
[詳解]
1#ifndef _LHAZTBZ_H
2#define _LHAZTBZ_H
3
4#include <windows.h>
5#include <stdio.h>
6#include <vector>
7#include "lhazarc.h"
8
9class LHAZPROCFILE;
10class PATH;
11
12namespace gui {
13
14class LHAZTREEVIEW;
15
16} // namespace gui
17
18class ARCTBZ : public ARCHIVE {
19public:
20 static const char HEADER[3];
21 // 全解凍用コンストラクタ
22 ARCTBZ(HWND hwnd, const WSTR& name, TYPE type);
23 // 閲覧用コンストラクタ
24 ARCTBZ(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
25 // デストラクタ
26 ‾ARCTBZ(void);
27 // 全解凍
28 bool Extract(bool verify, const WSTR& temp, const WSTR& password);
29 // 個別解凍
30 bool Extract(const WSTR& temp);
31 // 圧縮
32 bool Compress(int method, int header, const WSTR& pass, const PATH& temp, const vector<LHAZPROCFILE>& v);
33 // 個別削除
34 bool Delete(const vector<LHAZFILE*>& v);
35 //
36 static bool IsArchiveTbz(const WSTR& name);
37
38private:
39 static const char METHOD[];
40 //
41 bool Test(void);
42
43};
44
45#endif
Definition lhazarc.h:25
TYPE
Definition lhazarc.h:28
Definition lhaztbz.h:18
bool Compress(int method, int header, const WSTR &pass, const PATH &temp, const vector< LHAZPROCFILE > &v)
Definition lhaztbz.cpp:252
static const char HEADER[3]
Definition lhaztbz.h:30
‾ARCTBZ(void)
Definition lhaztbz.cpp:137
static bool IsArchiveTbz(const WSTR &name)
Definition lhaztbz.cpp:361
bool Delete(const vector< LHAZFILE * > &v)
Definition lhaztbz.cpp:314
static const char METHOD[]
Definition lhaztbz.h:39
bool Extract(bool verify, const WSTR &temp, const WSTR &password)
Definition lhaztbz.cpp:144
bool Test(void)
Definition lhaztbz.cpp:322
Definition lhazprocfile.h:11
Definition lhaztreeview.h:18
Archive
¥ type v
Definition lhazregs.h:21
Definition lhazbz2.h:17