parent
121c6ac3ea
commit
1423707dbe
6 changed files with 49 additions and 3 deletions
|
|
@ -5,6 +5,8 @@
|
|||
#include "../protocols/TextInputV1.hpp"
|
||||
#include "../protocols/GlobalShortcuts.hpp"
|
||||
#include "../protocols/Screencopy.hpp"
|
||||
#include "../helpers/memory/WeakPtr.hpp"
|
||||
#include <unordered_map>
|
||||
|
||||
class CProtocolManager {
|
||||
public:
|
||||
|
|
@ -15,6 +17,11 @@ class CProtocolManager {
|
|||
std::unique_ptr<CTextInputV1ProtocolManager> m_pTextInputV1ProtocolManager;
|
||||
std::unique_ptr<CGlobalShortcutsProtocolManager> m_pGlobalShortcutsProtocolManager;
|
||||
std::unique_ptr<CScreencopyProtocolManager> m_pScreencopyProtocolManager;
|
||||
|
||||
private:
|
||||
std::unordered_map<std::string, CHyprSignalListener> m_mModeChangeListeners;
|
||||
|
||||
void onMonitorModeChange(CMonitor* pMonitor);
|
||||
};
|
||||
|
||||
inline std::unique_ptr<CProtocolManager> g_pProtocolManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue