Lhaz
lhazxz.h
[詳解]
1 /*==========================================================================*/
2 /* Lhaz xzインタフェース lhaz@chitora.jp */
3 /*==========================================================================*/
4 #ifdef FEATURE_XZ
5 #pragma once
6 
7 #include <windows.h>
8 #include <stdio.h>
9 #include <vector>
10 #include "lhazarc.h"
11 #include "mystr.h"
12 #include "mybuf.h"
13 #include "lzma.h"
14 
15 class LHAZPROCFILE;
16 class PATH;
17 
18 namespace gui {
19 
20 class LHAZTREEVIEW;
21 
22 } // namespace gui
23 
24 class ARCXZ : public ARCHIVE {
25 public:
26  static bool IsArchiveXZ(const WSTR& name, DWORD size, const MYBUF& buf);
27  static uint64_t SetMemLimit(void);
28  //
29  // 全解凍用コンストラクタ
30  ARCXZ(HWND hwnd, const WSTR& name, TYPE type);
31  // 閲覧用コンストラクタ
32  ARCXZ(HWND hwnd, const WSTR& name, TYPE type, const WSTR& filter, gui::LHAZTREEVIEW* treeview);
33  // 全解凍
34  bool Extract(bool verify, const WSTR& temp, const WSTR& password);
35  // 個別解凍
36  bool Extract(const WSTR& temp);
37  // 圧縮
38  bool Compress(int method, int header, const WSTR& pass, const PATH& temp, const std::vector<LHAZPROCFILE>& v);
39  // 個別削除
40  bool Delete(const std::vector<LHAZFILE*>& v);
41 
42 private:
43  enum {
44 #if BUFSIZ <= 1024
45  IO_BUFFER_SIZE = 8192
46 #else
47  IO_BUFFER_SIZE = BUFSIZ
48 #endif
49  };
50  //
51  static const char METHOD[];
52  //
53  uint64_t MemLimit;
54  //
55  bool Test(void);
56  MYSTR getname(void) const;
57 
58 };
59 
60 #endif // FEATURE_XZ
Archive.
Definition: lhazarc.h:25
Definition: lhazbz2.h:17
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
Definition: lhaztreeview.h:18
機能テストを実施するためのディレクトリです. *概要 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
Definition: lhazprocfile.h:11