acl/app/jencode/AclTrans.h
zsxxsz cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00

28 lines
514 B
C++

#pragma once
class CAclTrans
{
public:
CAclTrans(void);
~CAclTrans(void);
CAclTrans(HWND hWnd, CString &sPath);
void Init(HWND hWnd, CString &sPath);
void Run(BOOL bTrans = TRUE);
public:
void OnTransing(int nMsg);
void OnTransEnd(int nMsg);
private:
HWND m_hWnd;
CString m_sPath;
int m_nMsgTransing;
int m_nMsgTransEnd;
BOOL m_bTrans;
static void *RunThread(void *arg);
int ScanPath(CString *psPath);
int TransFile(const char *psPath);
void Trans(char *psBuf);
void Restore(char *psBuf);
};