#pragma once #include "../defines.hpp" #include "../helpers/Monitor.hpp" #include "../helpers/memory/Memory.hpp" #include "../helpers/signal/Signal.hpp" #include class CProtocolManager { public: CProtocolManager(); ~CProtocolManager(); bool isGlobalPrivileged(const wl_global* global); private: std::unordered_map m_mModeChangeListeners; void onMonitorModeChange(PHLMONITOR pMonitor); }; inline std::unique_ptr g_pProtocolManager;