68 virtual COMPLETE Extract(
bool verify,
const WSTR& temp,
const WSTR& password) = 0;
72 virtual bool Compress(
int method,
int header,
const WSTR& pass,
const PATH& temp,
const std::vector<LHAZPROCFILE>&
v) = 0;
74 virtual bool Delete(
const std::vector<LHAZFILE*>&
v) = 0;
80 void Filt(
const WSTR& filter);
86 const WSTR&
GetDir(
int idx)
const;
94 const std::vector<LHAZFILE*>&
GetList()
const {
return List; }
97 const WSTR&
GetName(
int idx)
const;
100 LONGLONG
GetSize(
int idx)
const;
108 const WSTR&
GetType(
int idx)
const;
109 bool IsDir(
int idx)
const;
112 void ListExtMember(
const std::vector<int>& indxs,
bool add =
false);
114 void SetName(
const WSTR& name);
115 void Sort(
int kind,
int rev);
132 bool IsSameDir(WSTR& dirbuf,
const WSTR& curdir);
133 void AppendList(
const WSTR& name, std::vector<WSTR>& list);
135 void AppendListWithDir(
const WSTR& name, std::vector<WSTR>& list,
bool& unicode_file_exist);
const WSTR & GetAllName(int idx) const
Definition lhazarc.cpp:783
const WSTR & GetRatioText(int idx) const
Definition lhazarc.cpp:863
static const EXT_TABLE m_ext_table[]
Definition lhazarc.h:66
virtual COMPLETE Extract(bool verify, const WSTR &temp, const WSTR &password)=0
void AppendListProcFile(const WSTR &name, std::vector< LHAZPROCFILE > &list)
Definition lhazarc.cpp:527
static const size_t SFXSIZE
Definition lhazarc.h:118
static const char MZHEADER[]
Definition lhazarc.h:64
const WSTR & GetCsizeTextKB(int idx) const
Definition lhazarc.cpp:847
TYPE GetType() const
Definition lhazarc.h:107
void SetName(const WSTR &name)
Definition lhazarc.cpp:367
const WSTR & GetDir(int idx) const
Definition lhazarc.cpp:879
std::vector< LHAZFILE * > ExtFile
Definition lhazarc.h:129
bool IsSameDir(WSTR &dirbuf, const WSTR &curdir)
Definition lhazarc.cpp:375
LHAZFILETREE * GetTree() const
Definition lhazarc.h:105
void Sort(int kind, int rev)
Definition lhazarc.cpp:350
LONGLONG GetTotal() const
Definition lhazarc.h:104
bool MakeDir
Definition lhazarc.h:124
static ARCHIVE * Create(HWND hwnd, const WSTR &name, TYPE type)
Definition lhazarc.cpp:154
std::vector< LHAZFILE * > SortTable
Definition lhazarc.h:128
const WSTR & GetFname(int idx) const
Definition lhazarc.cpp:855
const std::vector< LHAZFILE * > & GetList() const
Definition lhazarc.h:94
bool DoMakeDir() const
Definition lhazarc.h:79
WSTR Name
Definition lhazarc.h:121
LHAZFILETREE * Tree
Definition lhazarc.h:130
bool IsVirtual(int idx) const
Definition lhazarc.cpp:903
int GetImage(int idx) const
Definition lhazarc.cpp:887
LONGLONG GetSize(int idx) const
Definition lhazarc.cpp:799
HWND Hwnd
Definition lhazarc.h:120
virtual ‾ARCHIVE()
Definition lhazarc.cpp:264
void ListAllMember()
Definition lhazarc.cpp:340
COMPLETE
Definition lhazarc.h:56
@ ARC_ERROR
Definition lhazarc.h:56
@ ARC_CANCELED
Definition lhazarc.h:56
@ ARC_NO_ERROR
Definition lhazarc.h:56
@ ARC_STOPPED
Definition lhazarc.h:56
const WSTR & GetName() const
Definition lhazarc.h:96
bool IsDir(int idx) const
Definition lhazarc.cpp:895
bool Encrypt
Definition lhazarc.h:126
::size_t GetDspCount() const
Definition lhazarc.h:87
std::vector< LHAZFILE * > List
Definition lhazarc.h:127
TYPE Type
Definition lhazarc.h:122
void AppendList(const WSTR &name, std::vector< WSTR > &list)
Definition lhazarc.cpp:499
const WSTR & GetCsizeText(int idx) const
Definition lhazarc.cpp:839
const WSTR & GetMethodText(int idx) const
Definition lhazarc.cpp:871
static bool IsUnicodeSupport(TYPE type)
Definition lhazarc.cpp:764
void ListExtMemberDescendant(const WSTR &dir, const WSTR &filter)
Definition lhazarc.cpp:321
WSTR OneDir
Definition lhazarc.h:125
LONGLONG GetExtMemberTotal() const
Definition lhazarc.cpp:919
bool CompExlude(const WSTR &name)
Definition lhazarc.cpp:447
virtual bool Delete(const std::vector< LHAZFILE * > &v)=0
static TYPE GetArchiveType(const WSTR &name, bool &pass_correct)
Definition lhazarc.cpp:555
const WSTR & GetOneDir() const
Definition lhazarc.h:98
LHAZFILE * GetFile(int idx) const
Definition lhazarc.cpp:930
std::size_t GetCount() const
Definition lhazarc.h:83
void Filt(const WSTR &filter)
Definition lhazarc.cpp:277
TYPE
Definition lhazarc.h:28
@ SFXCAB
Definition lhazarc.h:41
@ XZ
Definition lhazarc.h:45
@ ZIP
Definition lhazarc.h:31
@ ONEDRIVE
Definition lhazarc.h:52
@ LZH
Definition lhazarc.h:30
@ CAB
Definition lhazarc.h:33
@ SFXLZH
Definition lhazarc.h:40
@ ISCAB
Definition lhazarc.h:44
@ GZIP
Definition lhazarc.h:36
@ DROPBOX
Definition lhazarc.h:53
@ SZIP
Definition lhazarc.h:39
@ GOOGLE_DOC
Definition lhazarc.h:51
@ BZ2
Definition lhazarc.h:38
@ TXZ
Definition lhazarc.h:46
@ ENCZIP
Definition lhazarc.h:32
@ NON
Definition lhazarc.h:29
@ MAX
Definition lhazarc.h:54
@ TBZ
Definition lhazarc.h:37
@ ZSTD
Definition lhazarc.h:49
@ TAR
Definition lhazarc.h:35
@ RAR
Definition lhazarc.h:43
@ LZMA
Definition lhazarc.h:48
@ TGZ
Definition lhazarc.h:34
@ LZ4
Definition lhazarc.h:47
@ TZST
Definition lhazarc.h:50
@ SFXZIP
Definition lhazarc.h:42
virtual COMPLETE Extract(const WSTR &temp)=0
const WSTR & GetSizeTextKB(int idx) const
Definition lhazarc.cpp:815
const WSTR & GetSizeText(int idx) const
Definition lhazarc.cpp:807
static TYPE GetArchiveTypeByName(const WSTR &name)
Definition lhazarc.cpp:738
void ClearExtFile()
Definition lhazarc.h:77
LONGLONG Total
Definition lhazarc.h:123
bool CanAppend(UINT &mes_id)
Definition lhazarc.cpp:959
int ShareError(const WSTR &name)
Definition lhazarc.cpp:753
const WSTR & GetTimeText(int idx) const
Definition lhazarc.cpp:831
static bool IsSingleFileCompressed(TYPE type)
IsSingleFileCompressed
Definition lhazarc.cpp:430
std::vector< LHAZFILE * > & GetExtFile()
Definition lhazarc.h:89
void ListExtMember(const std::vector< int > &indxs, bool add=false)
Definition lhazarc.cpp:309
bool GetEncrypt() const
Definition lhazarc.h:88
void AppendListWithDir(const WSTR &name, std::vector< WSTR > &list, bool &unicode_file_exist)
Definition lhazarc.cpp:460
virtual bool Compress(int method, int header, const WSTR &pass, const PATH &temp, const std::vector< LHAZPROCFILE > &v)=0
static bool IsOfficeOpenXML(const WSTR &name)
Definition lhazarc.cpp:938
Definition lhazfiletree.h:22
Definition lhazprocfile.h:11
Definition lhaztreeview.h:18
¥ type v
Definition lhazregs.h:21
TYPE type
Definition lhazarc.h:140
const TCHAR * ext
Definition lhazarc.h:141