用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "core/SSingletonMap.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace SOUI
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
struct SCRIPTTIMERINFO
|
|
|
|
|
{
|
|
|
|
|
HWND hwnd;
|
|
|
|
|
SStringA strScriptFunc;
|
|
|
|
|
BOOL bRepeat;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class SScriptTimer : public SSingletonMap<SScriptTimer,SCRIPTTIMERINFO,UINT_PTR>
|
|
|
|
|
{
|
|
|
|
|
SINGLETON2_TYPE(SINGLETON_SCRIPTTIMER)
|
|
|
|
|
public:
|
|
|
|
|
~SScriptTimer();
|
|
|
|
|
|
|
|
|
|
UINT SetTimer(HWND hwnd,const SStringA & strScriptFunc,UINT nElapse,BOOL bRepeat);
|
|
|
|
|
|
|
|
|
|
void ClearTimer(UINT_PTR uID);
|
|
|
|
|
|
|
|
|
|
static VOID CALLBACK _TimerProc(HWND hwnd,
|
|
|
|
|
UINT uMsg,
|
|
|
|
|
UINT_PTR idEvent,
|
|
|
|
|
DWORD dwTime
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}//namespace SOUI
|