Lhaz
|
#include <lhazrar.h>
公開型 | |
enum | IS_ARCHIVE_RAR { IS_NO_RAR , IS_RAR , IS_PASSWORD_ERROR } |
![]() | |
enum | TYPE { NON , LZH , ZIP , ENCZIP , CAB , TGZ , TAR , GZIP , TBZ , BZ2 , SZIP , SFXLZH , SFXCAB , SFXZIP , RAR , ISCAB , XZ , TXZ , LZ4 , LZMA , ZSTD , GOOGLE_DOC , ONEDRIVE , DROPBOX , MAX } |
enum | COMPLETE { ARC_NO_ERROR , ARC_CANCELED , ARC_STOPPED , ARC_ERROR } |
公開メンバ関数 | |
ARCRAR (HWND hwnd, const WSTR &name, TYPE type) | |
ARCRAR (HWND hwnd, const WSTR &name, TYPE type, const WSTR &filter, gui::LHAZTREEVIEW *treeview) | |
‾ARCRAR (void) | |
bool | Extract (bool verify, const WSTR &temp, const WSTR &password) |
bool | Extract (const WSTR &temp) |
bool | Compress (int method, int header, const WSTR &pass, const PATH &temp, const vector< LHAZPROCFILE > &v) |
bool | Delete (const vector< LHAZFILE * > &v) |
![]() | |
ARCHIVE (HWND hwnd, const WSTR &name, TYPE type, gui::LHAZTREEVIEW *treeview) | |
virtual | ‾ARCHIVE () |
virtual bool | Compress (int method, int header, const WSTR &pass, const PATH &temp, const std::vector< LHAZPROCFILE > &v)=0 |
virtual bool | Delete (const std::vector< LHAZFILE * > &v)=0 |
bool | CanAppend (UINT &mes_id) |
void | ClearExtFile () |
bool | DoMakeDir () const |
void | Filt (const WSTR &filter) |
void | Filt (const WSTR &filter, const LHAZFILETREE *node) |
const WSTR & | GetAllName (int idx) const |
std::size_t | GetCount () const |
const WSTR & | GetCsizeText (int idx) const |
const WSTR & | GetCsizeTextKB (int idx) const |
const WSTR & | GetDir (int idx) const |
::size_t | GetDspCount () const |
bool | GetEncrypt () const |
std::vector< LHAZFILE * > & | GetExtFile () |
LONGLONG | GetExtMemberTotal () const |
LHAZFILE * | GetFile (int idx) const |
const WSTR & | GetFname (int idx) const |
int | GetImage (int idx) const |
const std::vector< LHAZFILE * > & | GetList () const |
const WSTR & | GetMethodText (int idx) const |
const WSTR & | GetName () const |
const WSTR & | GetName (int idx) const |
const WSTR & | GetOneDir () const |
const WSTR & | GetRatioText (int idx) const |
LONGLONG | GetSize (int idx) const |
const WSTR & | GetSizeText (int idx) const |
const WSTR & | GetSizeTextKB (int idx) const |
const WSTR & | GetTimeText (int idx) const |
LONGLONG | GetTotal () const |
LHAZFILETREE * | GetTree () const |
LHAZFILETREE * | GetTree (int idx) const |
TYPE | GetType () const |
const WSTR & | GetType (int idx) const |
bool | IsDir (int idx) const |
bool | IsVirtual (int idx) const |
void | ListAllMember () |
void | ListExtMember (const std::vector< int > &indxs, bool add=false) |
void | ListExtMemberDescendant (const WSTR &dir, const WSTR &filter) |
void | SetName (const WSTR &name) |
void | Sort (int kind, int rev) |
静的公開メンバ関数 | |
static IS_ARCHIVE_RAR | IsArchiveRar (const WSTR &name) |
![]() | |
static TYPE | GetArchiveType (const WSTR &name, bool &pass_correct) |
static TYPE | GetArchiveTypeByName (const WSTR &name) |
static bool | IsSingleFileCompressed (TYPE type) |
IsSingleFileCompressed | |
static bool | IsUnicodeSupport (TYPE type) |
static ARCHIVE * | Create (HWND hwnd, const WSTR &name, TYPE type) |
static ARCHIVE * | Create (HWND hwnd, const WSTR &name, TYPE type, TCHAR *filter, gui::LHAZTREEVIEW *treeview) |
静的非公開メンバ関数 | |
static int CALLBACK | CallbackProc (UINT msg, LPARAM UserData, LPARAM P1, LPARAM P2) |
static INT_PTR CALLBACK | DialogNextRar (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
非公開変数類 | |
MYSTR | CurrentFileName |
MYSTR | Password |
bool | AskingFiles |
std::size_t | NextAskedFile |
std::vector< MYSTR > | AskedFiles |
その他の継承メンバ | |
![]() | |
bool | IsSameDir (WSTR &dirbuf, const WSTR &curdir) |
void | AppendList (const WSTR &name, std::vector< WSTR > &list) |
void | AppendListWithDir (const WSTR &name, std::vector< WSTR > &list, bool &unicode_file_exist) |
int | ShareError (const WSTR &name) |
![]() | |
HWND | Hwnd |
WSTR | Name |
TYPE | Type |
LONGLONG | Total |
bool | MakeDir |
WSTR | OneDir |
bool | Encrypt |
std::vector< LHAZFILE * > | List |
std::vector< LHAZFILE * > | SortTable |
std::vector< LHAZFILE * > | ExtFile |
LHAZFILETREE * | Tree |
![]() | |
static const size_t | SFXSIZE = 0xA0000 |
ARCRAR::ARCRAR | ( | HWND | hwnd, |
const WSTR & | name, | ||
TYPE | type | ||
) |
ARCRAR::ARCRAR | ( | HWND | hwnd, |
const WSTR & | name, | ||
TYPE | type, | ||
const WSTR & | filter, | ||
gui::LHAZTREEVIEW * | treeview | ||
) |
ARCRAR::‾ARCRAR | ( | void | ) |
|
staticprivate |
bool ARCRAR::Compress | ( | int | method, |
int | header, | ||
const WSTR & | pass, | ||
const PATH & | temp, | ||
const vector< LHAZPROCFILE > & | v | ||
) |
|
staticprivate |
ARCHIVEを実装しています。
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |