Lhaz
lhazrar.h
[詳解]
1 #ifndef _LHAZRAR_H
2 #define _LHAZRAR_H
3 
4 #include <windows.h>
5 #include <stdio.h>
6 #include <vector>
7 #include "lhazarc.h"
8 #include "mystr.h"
9 
10 using namespace std;
11 
12 class LHAZPROCFILE;
13 class PATH;
14 
15 class ARCRAR : public ARCHIVE {
16 public:
17  enum IS_ARCHIVE_RAR { IS_NO_RAR, IS_RAR, IS_PASSWORD_ERROR };
18  // 全解凍用コンストラクタ
19  ARCRAR(HWND hwnd, const WSTR& name, TYPE type);
20  // 閲覧用コンストラクタ
21  ARCRAR(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
22  // デストラクタ
23  ‾ARCRAR(void);
24  // 全解凍
25  bool Extract(bool verify, const WSTR& temp, const WSTR& password);
26  // 個別解凍
27  bool Extract(const WSTR& temp);
28  // 圧縮
29  bool Compress(int method, int header, const WSTR& pass, const PATH& temp, const vector<LHAZPROCFILE>& v);
30  // 個別削除
31  bool Delete(const vector<LHAZFILE*>& v);
32  //
33  static IS_ARCHIVE_RAR IsArchiveRar(const WSTR& name);
34 
35 private:
36  static int CALLBACK CallbackProc(UINT msg, LPARAM UserData, LPARAM P1, LPARAM P2);
37  static INT_PTR CALLBACK DialogNextRar(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
38  //
40  MYSTR Password;
42  std::size_t NextAskedFile;
43  std::vector<MYSTR> AskedFiles;
44 
45 };
46 
47 #endif
Archive.
TYPE
Definition: lhazarc.h:28
MYSTR CurrentFileName
Definition: lhazrar.h:39
Definition: lhazarc.h:25
and that you are informed that you can do these things To protect your we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it For if you distribute copies of the whether gratis or for a you must give the recipients all the rights that we gave you You must make sure that receive or can get the source code If you link other code with the you must provide complete object files to the so that they can relink them with the library after making changes to the library and recompiling it And you must show them these terms so they know their rights We protect your rights with a two step method
Definition: copying.txt:35
MYSTR Password
Definition: lhazrar.h:40
Definition: lhazrar.h:15
Definition: lhaztreeview.h:18
IS_ARCHIVE_RAR
Definition: lhazrar.h:17
bool AskingFiles
Definition: lhazrar.h:41
機能テストを実施するためのディレクトリです. *概要 Git Bash上で一部またはすべてのテストを自動的に実行することができます. *実行方法 call_test shを実行すると,配下に存在する全てのテストを順次実行します. 各テストケースのtest shを実行すると,そのテストだけが実行されます. call_test sh[-v 2][-a 86][-k][-r][types...] test sh[-v 2][-a 86][-k][types...] v
Definition: README.txt:18
std::size_t NextAskedFile
Definition: lhazrar.h:42
Definition: lhazprocfile.h:11
std::vector< MYSTR > AskedFiles
Definition: lhazrar.h:43
Definition: lhazrar.h:17