Lhaz
クラス | 公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 静的公開変数類 | 非公開メンバ関数 | 静的非公開メンバ関数 | 非公開変数類 | 静的非公開変数類 | 全メンバ一覧
KBINSTALLER クラス

#include <cabsfx.h>

クラス

class  CFFILE
 
class  CFFOLDER
 
class  CFHEADER
 

公開型

enum  { SFX_START = WM_USER, DISP_NAME, FINISH }
 
enum  { LHAZWND_WIDTH = 256, LHAZWND_HEIGHT = 114 }
 

公開メンバ関数

 KBINSTALLER (HINSTANCE hins, LPTSTR lpCmdLine)
 
 ‾KBINSTALLER (void)
 
HWND GetHwnd (void) const
 
bool GetStop (void) const
 
const TCHAR * GetExeName (void) const
 
int Run (void)
 
void Progress (unsigned int size)
 
void ConvDelim (char *path, char delim)
 
bool SetFileTime (const MYSTR &name, WORD date, WORD time)
 
int DoOverWrite (const MYSTR &name)
 
INT_PTR NextCab (PFDINOTIFICATION pfdin)
 

静的公開メンバ関数

static bool ReadByte (HANDLE hFile, char &d)
 
static bool ReadStr (HANDLE hFile, MYSTR &d)
 

静的公開変数類

static KBINSTALLERInstaller
 
static DWORD SkipSize
 
static long coffFiles
 
static vector< long > coffCabstart
 

非公開メンバ関数

bool Init (HINSTANCE hins, LPTSTR lpCmdLine)
 
bool Start (void)
 
DWORD GetSfxSize (HANDLE hFile)
 
LONGLONG GetTotal (HANDLE hFile)
 
bool Extract (void)
 
bool ChangeDir (const MYSTR &dir)
 
void CreateShortCut (void)
 
void SetReg (void)
 
bool Read (HANDLE hFile, MYSTR &d, int size)
 

静的非公開メンバ関数

static bool IsSJIS_First (unsigned char c)
 
static LRESULT CALLBACK WndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static INT_PTR CALLBACK DialogOverWrite (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static INT_PTR CALLBACK DialogNextCab (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static INT_PTR CALLBACK DialogMain (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static DWORD WINAPI ExtractThread (LPVOID pv)
 

非公開変数類

HWND Hwnd
 
HWND StaticWnd
 
HWND PrgrsWnd
 
HWND CancelButtonWnd
 
LONGLONG Total
 
LONGLONG Melted
 
bool m_silent_install
 
unsigned int Pos
 
HANDLE Thread
 
bool Force
 
bool Skip
 
bool Stop
 
MYSTR DestDir
 
bool Option
 
TCHAR ExeName [MAX_PATH]
 
LHAZSFX Param
 
LHAZSHELLEX ShellEx
 

静的非公開変数類

static const TCHAR CLASSNAME [] = _T("KBINSTALLER")
 
static const TCHAR SFXTITLE [] = _T("Lhaz SFX")
 
static const char HEADER [4] = { 'M', 'S', 'C', 'F' }
 
static bool Initialized = false
 
static HINSTANCE Instance = NULL
 

列挙型メンバ詳解

anonymous enum
列挙値
SFX_START 
DISP_NAME 
FINISH 
anonymous enum
列挙値
LHAZWND_WIDTH 
LHAZWND_HEIGHT 

構築子と解体子

KBINSTALLER::KBINSTALLER ( HINSTANCE  hins,
LPTSTR  lpCmdLine 
)

関数詳解

bool KBINSTALLER::ChangeDir ( const MYSTR &  dir)
private
void KBINSTALLER::ConvDelim ( char *  path,
char  delim 
)
void KBINSTALLER::CreateShortCut ( void  )
private
INT_PTR CALLBACK KBINSTALLER::DialogMain ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate
INT_PTR CALLBACK KBINSTALLER::DialogNextCab ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate
INT_PTR CALLBACK KBINSTALLER::DialogOverWrite ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate
int KBINSTALLER::DoOverWrite ( const MYSTR &  name)
bool KBINSTALLER::Extract ( void  )
private
DWORD WINAPI KBINSTALLER::ExtractThread ( LPVOID  pv)
staticprivate
const TCHAR* KBINSTALLER::GetExeName ( void  ) const
inline
HWND KBINSTALLER::GetHwnd ( void  ) const
inline
DWORD KBINSTALLER::GetSfxSize ( HANDLE  hFile)
private
bool KBINSTALLER::GetStop ( void  ) const
inline
LONGLONG KBINSTALLER::GetTotal ( HANDLE  hFile)
private
bool KBINSTALLER::Init ( HINSTANCE  hins,
LPTSTR  lpCmdLine 
)
private
static bool KBINSTALLER::IsSJIS_First ( unsigned char  c)
inlinestaticprivate
INT_PTR KBINSTALLER::NextCab ( PFDINOTIFICATION  pfdin)
void KBINSTALLER::Progress ( unsigned int  size)
bool KBINSTALLER::Read ( HANDLE  hFile,
MYSTR &  d,
int  size 
)
private
bool KBINSTALLER::ReadByte ( HANDLE  hFile,
char &  d 
)
static
bool KBINSTALLER::ReadStr ( HANDLE  hFile,
MYSTR &  d 
)
static
int KBINSTALLER::Run ( void  )
bool KBINSTALLER::SetFileTime ( const MYSTR &  name,
WORD  date,
WORD  time 
)
void KBINSTALLER::SetReg ( void  )
private
bool KBINSTALLER::Start ( void  )
private
LRESULT CALLBACK KBINSTALLER::WndProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate
KBINSTALLER::‾KBINSTALLER ( void  )

メンバ詳解

HWND KBINSTALLER::CancelButtonWnd
private
const TCHAR KBINSTALLER::CLASSNAME = _T("KBINSTALLER")
staticprivate
vector< long > KBINSTALLER::coffCabstart
static
long KBINSTALLER::coffFiles
static
MYSTR KBINSTALLER::DestDir
private
TCHAR KBINSTALLER::ExeName[MAX_PATH]
private
bool KBINSTALLER::Force
private
const char KBINSTALLER::HEADER = { 'M', 'S', 'C', 'F' }
staticprivate
HWND KBINSTALLER::Hwnd
private
bool KBINSTALLER::Initialized = false
staticprivate
KBINSTALLER * KBINSTALLER::Installer
static
HINSTANCE KBINSTALLER::Instance = NULL
staticprivate
bool KBINSTALLER::m_silent_install
private
LONGLONG KBINSTALLER::Melted
private
bool KBINSTALLER::Option
private
LHAZSFX KBINSTALLER::Param
private
unsigned int KBINSTALLER::Pos
private
HWND KBINSTALLER::PrgrsWnd
private
const TCHAR KBINSTALLER::SFXTITLE = _T("Lhaz SFX")
staticprivate
LHAZSHELLEX KBINSTALLER::ShellEx
private
bool KBINSTALLER::Skip
private
DWORD KBINSTALLER::SkipSize
static
HWND KBINSTALLER::StaticWnd
private
bool KBINSTALLER::Stop
private
HANDLE KBINSTALLER::Thread
private
LONGLONG KBINSTALLER::Total
private

このクラス詳解は次のファイルから抽出されました: