mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 19:12:58 -05:00
updated project sdk
This commit is contained in:
9 files changed
+282
-353
No files matched your search
+3
-6
@@ -5,7 +5,7 @@
|
||||
|
||||
bool _app_timer_set (HWND hwnd, PITEM_APP ptr_app, time_t seconds)
|
||||
{
|
||||
if (!config.hengine || !ptr_app)
|
||||
if (!ptr_app)
|
||||
return false;
|
||||
|
||||
if (seconds <= 0)
|
||||
@@ -71,10 +71,7 @@ bool _app_timer_set (HWND hwnd, PITEM_APP ptr_app, time_t seconds)
|
||||
|
||||
bool _app_timer_reset (HWND hwnd, PITEM_APP ptr_app)
|
||||
{
|
||||
if (!config.hengine || !ptr_app)
|
||||
return false;
|
||||
|
||||
if (!_app_istimeractive (ptr_app))
|
||||
if (!ptr_app || !_app_istimeractive (ptr_app))
|
||||
return false;
|
||||
|
||||
ptr_app->is_haveerrors = false;
|
||||
@@ -164,7 +161,7 @@ void CALLBACK _app_timer_callback (PVOID lparam, BOOLEAN)
|
||||
rules.push_back (ptr_app_object);
|
||||
|
||||
_app_timer_reset (hwnd, ptr_app);
|
||||
_wfp_create3filters (rules, __LINE__);
|
||||
_wfp_create3filters (_wfp_getenginehandle (), rules, __LINE__);
|
||||
|
||||
const INT listview_id = _app_gettab_id (hwnd);
|
||||
|
||||
|
||||
Reference in new issue
Block a user