acl/app/jencode/AclTrans.h

28 lines
541 B
C
Raw Normal View History

#pragma once
2014-11-19 00:25:21 +08:00
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);
};