mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 06:45:59 +01:00
8370a7fcc4
move to our own xdgoutput impl instead of wlr's
26 lines
983 B
C++
26 lines
983 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"
|
|
#include "../protocols/XDGOutput.hpp"
|
|
|
|
class CProtocolManager {
|
|
public:
|
|
CProtocolManager();
|
|
|
|
// TODO: rewrite to use the new protocol framework
|
|
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;
|
|
|
|
// New protocols
|
|
std::unique_ptr<CXDGOutputProtocol> m_pXDGOutputProtocol;
|
|
};
|
|
|
|
inline std::unique_ptr<CProtocolManager> g_pProtocolManager;
|