📄 replacethd.h
字号:
#if !defined(AFX_REPLACETHD_H__47AED631_FB02_41FA_A3E5_5BE43FBC8321__INCLUDED_)
#define AFX_REPLACETHD_H__47AED631_FB02_41FA_A3E5_5BE43FBC8321__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ReplaceThd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CReplaceThd thread
#include "ScanstringtoolDlg.h"
#include "ReadScanBaseThd.h"
#include "FileLine.h"
class CReplaceThd : public CWinThread
{
DECLARE_DYNCREATE(CReplaceThd)
protected:
// protected constructor used by dynamic creation
// Attributes
public:
CReplaceThd(CScanstringtoolDlg* hDlg,CReadScanBaseThd* pThd);
virtual ~CReplaceThd();
// Operations
public:
CScanstringtoolDlg* m_hDlg;
void KillThread();
HANDLE m_hWrite;
HANDLE m_hEventKill;
HANDLE m_hEventDead;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReplaceThd)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
protected:
CReadScanBaseThd* m_pScanThd;
// Generated message map functions
//{{AFX_MSG(CReplaceThd)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL IsContinueLine(char* szLine);
void TrimQuotation(char* szSrc,char* szDes);
BOOL IsIgnorStr(char* szStr);
long m_lMacroNum;
void Replace(FileLine* fileLine);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REPLACETHD_H__47AED631_FB02_41FA_A3E5_5BE43FBC8321__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -