Deskflow 1.26.0.443
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ServerProxy1_8.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2026 Synergy App Ltd
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
11
12#include <string>
13#include <string_view>
14
17{
18public:
19 ServerProxy1_8(Client *client, deskflow::IStream *stream, IEventQueue *events);
20 ~ServerProxy1_8() override = default;
21
22protected:
23 ConnectionResult parseHandshakeMessage(const uint8_t *code) override;
24 ConnectionResult parseMessage(const uint8_t *code) override;
25
26private:
27 void setServerLayouts();
28 void setActiveServerLayout(const std::string_view &layout);
29
30 std::string m_serverLayout;
31 bool m_isUserNotifiedAboutLayoutSyncError = false;
32 deskflow::KeyboardLayoutManager m_layoutManager;
33};
Deskflow client.
Definition Client.h:42
Event queue interface.
Definition IEventQueue.h:29
ServerProxy1_7(Client *client, deskflow::IStream *stream, IEventQueue *events)
Definition ServerProxy1_7.cpp:16
~ServerProxy1_8() override=default
ConnectionResult parseHandshakeMessage(const uint8_t *code) override
Definition ServerProxy1_8.cpp:24
ServerProxy1_8(Client *client, deskflow::IStream *stream, IEventQueue *events)
Definition ServerProxy1_8.cpp:19
ConnectionResult parseMessage(const uint8_t *code) override
Definition ServerProxy1_8.cpp:35
ConnectionResult
Definition ServerProxy.h:58
Bidirectional stream interface.
Definition IStream.h:22
Definition KeyboardLayoutManager.h:15