From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/api/wnd/deactivatemgr.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Src/Wasabi/api/wnd/deactivatemgr.h (limited to 'Src/Wasabi/api/wnd/deactivatemgr.h') diff --git a/Src/Wasabi/api/wnd/deactivatemgr.h b/Src/Wasabi/api/wnd/deactivatemgr.h new file mode 100644 index 00000000..6e1e8c59 --- /dev/null +++ b/Src/Wasabi/api/wnd/deactivatemgr.h @@ -0,0 +1,22 @@ +#ifndef __APPDEACTIVATIONMGR_H +#define __APPDEACTIVATIONMGR_H + +#include + +class ifc_window; + +class AppDeactivationMgr { + + public: + + static int is_deactivation_allowed(ifc_window *w); + static void push_disallow(ifc_window *w); + static void pop_disallow(ifc_window *w); + static void setbypass(int i); + + private: + static PtrList list; + +}; + +#endif -- cgit