cancel change

This commit is contained in:
恍兮惚兮 2024-02-09 00:46:50 +08:00
parent 4d382d5a1c
commit 9f093281d8

View File

@ -25,7 +25,6 @@ class ENGINE{
ALL_TRUE, ALL_TRUE,
FILE, FILE_ALL,FILE_ANY, FILE, FILE_ALL,FILE_ANY,
RESOURCE_STR, RESOURCE_STR,
RESOURCE_STR_A,
CUSTOM, CUSTOM,
}; };
CHECK_BY check_by; CHECK_BY check_by;
@ -35,8 +34,7 @@ class ENGINE{
typedef std::function<bool()> check_by_custom_function; typedef std::function<bool()> check_by_custom_function;
typedef std::vector<const wchar_t*> check_by_list; typedef std::vector<const wchar_t*> check_by_list;
typedef const wchar_t* check_by_single; typedef const wchar_t* check_by_single;
typedef const char* check_by_single_A; std::variant<check_by_single,check_by_list,check_by_custom_function>check_by_target;
std::variant<check_by_single_A,check_by_single,check_by_list,check_by_custom_function>check_by_target;
//virtual bool check_by_target(){return false;}; //virtual bool check_by_target(){return false;};
virtual bool attach_function()=0; virtual bool attach_function()=0;
virtual const char* getenginename(){ virtual const char* getenginename(){