2022-12-05 17:05:15 +00:00
|
|
|
#include "ProtocolManager.hpp"
|
|
|
|
|
|
2024-04-19 22:16:35 +01:00
|
|
|
#include "../protocols/TearingControl.hpp"
|
2024-04-20 14:14:54 +01:00
|
|
|
#include "../protocols/FractionalScale.hpp"
|
2024-04-19 22:16:35 +01:00
|
|
|
|
2023-07-18 15:30:28 +02:00
|
|
|
#include "xdg-output-unstable-v1-protocol.h"
|
2024-04-20 13:25:29 +01:00
|
|
|
#include "tearing-control-v1.hpp"
|
2024-04-20 14:14:54 +01:00
|
|
|
#include "fractional-scale-v1.hpp"
|
2023-07-18 15:30:28 +02:00
|
|
|
|
2022-12-05 17:05:15 +00:00
|
|
|
CProtocolManager::CProtocolManager() {
|
2023-01-20 19:44:30 +01:00
|
|
|
m_pToplevelExportProtocolManager = std::make_unique<CToplevelExportProtocolManager>();
|
2023-03-14 12:57:50 +00:00
|
|
|
m_pTextInputV1ProtocolManager = std::make_unique<CTextInputV1ProtocolManager>();
|
2023-04-09 13:48:20 +01:00
|
|
|
m_pGlobalShortcutsProtocolManager = std::make_unique<CGlobalShortcutsProtocolManager>();
|
2023-04-03 17:01:05 +01:00
|
|
|
m_pScreencopyProtocolManager = std::make_unique<CScreencopyProtocolManager>();
|
2023-07-18 15:30:28 +02:00
|
|
|
|
|
|
|
|
m_pXDGOutputProtocol = std::make_unique<CXDGOutputProtocol>(&zxdg_output_manager_v1_interface, 3, "XDGOutput");
|
2024-04-19 22:16:35 +01:00
|
|
|
PROTO::tearing = std::make_unique<CTearingControlProtocol>(&wp_tearing_control_manager_v1_interface, 1, "TearingControl");
|
2024-04-20 14:14:54 +01:00
|
|
|
PROTO::fractional = std::make_unique<CFractionalScaleProtocol>(&wp_fractional_scale_manager_v1_interface, 1, "FractionalScale");
|
2023-07-18 15:30:28 +02:00
|
|
|
}
|