Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhazgzip.h
[詳解]
1/*==========================================================================*/
2/* Lhaz gzip chitora48@gmail.com */
3/*==========================================================================*/
4#pragma once
5
6#include <windows.h>
7#include <stdio.h>
8#include <vector>
9#include "lhazarc.h"
10
11class LHAZPROCFILE;
12class PATH;
13
14namespace gui {
15
16class LHAZTREEVIEW;
17
18} // namespace gui
19
20class ARCGZIP : public ARCHIVE {
21
22public:
23 // 全解凍用コンストラクタ
24 ARCGZIP(HWND hwnd, const WSTR& name, TYPE type);
25 // 閲覧用コンストラクタ
26 ARCGZIP(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
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 std::vector<LHAZPROCFILE>& v);
33 // 個別削除
34 bool Delete(const std::vector<LHAZFILE*>& v);
35
36private:
37 static const char METHOD[];
38 //
39 bool Test(void);
40 void getname(MYSTR& name, MYFILE& fp, char flag);
41
42};
Definition lhazgzip.h:20
void getname(MYSTR &name, MYFILE &fp, char flag)
bool Delete(const std::vector< LHAZFILE * > &v)
ARCGZIP(HWND hwnd, const WSTR &name, TYPE type)
static const char METHOD[]
Definition lhazgzip.h:37
bool Extract(const WSTR &temp)
bool Test(void)
bool Extract(bool verify, const WSTR &temp, const WSTR &password)
ARCGZIP(HWND hwnd, const WSTR &name, TYPE type, const WSTR &filter, gui::LHAZTREEVIEW *treeview)
bool Compress(int method, int header, const WSTR &pass, const PATH &temp, const std::vector< LHAZPROCFILE > &v)
Definition lhazarc.h:25
TYPE
Definition lhazarc.h:28
Definition lhazprocfile.h:11
Definition lhaztreeview.h:18
Archive
¥ type v
Definition lhazregs.h:21
Definition lhazbz2.h:17