protocols: move screencopy and toplevel export to hyprwayland-scanner (#7065)

* move screencopy and toplevel export to hyprwayland-scanner

* oops
This commit is contained in:
Ikalco 2024-07-27 10:02:02 -05:00 committed by GitHub
parent 963816b9a6
commit ec672b1ab9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 695 additions and 798 deletions

View file

@ -1,10 +1,9 @@
#pragma once
#include "../defines.hpp"
#include "../protocols/ToplevelExport.hpp"
#include "../protocols/TextInputV1.hpp"
#include "../protocols/GlobalShortcuts.hpp"
#include "../protocols/Screencopy.hpp"
#include "../helpers/Monitor.hpp"
#include "../helpers/memory/Memory.hpp"
#include "../helpers/signal/Signal.hpp"
#include <unordered_map>
@ -15,10 +14,8 @@ class CProtocolManager {
~CProtocolManager();
// TODO: rewrite to use the new protocol framework
std::unique_ptr<CToplevelExportProtocolManager> m_pToplevelExportProtocolManager;
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;