mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 08:45:59 +01:00
046ad79d11
Implements the `hyprland-global-shortcuts-v1` protocol --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
21 lines
806 B
C++
21 lines
806 B
C++
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
#include "../protocols/ToplevelExport.hpp"
|
|
#include "../protocols/FractionalScale.hpp"
|
|
#include "../protocols/TextInputV1.hpp"
|
|
#include "../protocols/GlobalShortcuts.hpp"
|
|
#include "../protocols/Screencopy.hpp"
|
|
|
|
class CProtocolManager {
|
|
public:
|
|
CProtocolManager();
|
|
|
|
std::unique_ptr<CToplevelExportProtocolManager> m_pToplevelExportProtocolManager;
|
|
std::unique_ptr<CFractionalScaleProtocolManager> m_pFractionalScaleProtocolManager;
|
|
std::unique_ptr<CTextInputV1ProtocolManager> m_pTextInputV1ProtocolManager;
|
|
std::unique_ptr<CGlobalShortcutsProtocolManager> m_pGlobalShortcutsProtocolManager;
|
|
std::unique_ptr<CScreencopyProtocolManager> m_pScreencopyProtocolManager;
|
|
};
|
|
|
|
inline std::unique_ptr<CProtocolManager> g_pProtocolManager;
|