2019-07-28 10:31:56 +08:00
|
|
|
#pragma once
|
2014-11-19 00:25:21 +08:00
|
|
|
|
2019-07-26 16:09:45 +08:00
|
|
|
class CDelBOM : public acl::thread
|
2014-11-19 00:25:21 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CDelBOM(void);
|
|
|
|
~CDelBOM(void);
|
|
|
|
|
|
|
|
void Init(HWND hWnd, CString &sPath);
|
|
|
|
void OnDeleting(int nMsg);
|
|
|
|
void OnDeleted(int nMsg);
|
|
|
|
|
2019-07-26 16:09:45 +08:00
|
|
|
protected:
|
|
|
|
// @override
|
|
|
|
void *run(void);
|
|
|
|
|
2014-11-19 00:25:21 +08:00
|
|
|
private:
|
|
|
|
HWND m_hWnd;
|
|
|
|
CString m_sPath;
|
|
|
|
int m_nMsgDeleting;
|
|
|
|
int m_nMsgDeleted;
|
|
|
|
|
2019-07-26 16:09:45 +08:00
|
|
|
void ScanDel(void);
|
|
|
|
bool DeleteBOM(const acl::string& filePath);
|
2014-11-19 00:25:21 +08:00
|
|
|
};
|
|
|
|
|