Deskflow
1.26.0.443
Keyboard and mouse sharing utility
Toggle main menu visibility
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
9
#include "
client/ServerProxy1_7.h
"
10
#include "
deskflow/KeyboardLayoutManager.h
"
11
12
#include <string>
13
#include <string_view>
14
16
class
ServerProxy1_8
:
public
ServerProxy1_7
17
{
18
public
:
19
ServerProxy1_8
(
Client
*client,
deskflow::IStream
*stream,
IEventQueue
*events);
20
~ServerProxy1_8
()
override
=
default
;
21
22
protected
:
23
ConnectionResult
parseHandshakeMessage
(
const
uint8_t *code)
override
;
24
ConnectionResult
parseMessage
(
const
uint8_t *code)
override
;
25
26
private
:
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
};
KeyboardLayoutManager.h
ServerProxy1_7.h
Client
Deskflow client.
Definition
Client.h:42
IEventQueue
Event queue interface.
Definition
IEventQueue.h:29
ServerProxy1_7::ServerProxy1_7
ServerProxy1_7(Client *client, deskflow::IStream *stream, IEventQueue *events)
Definition
ServerProxy1_7.cpp:16
ServerProxy1_8::~ServerProxy1_8
~ServerProxy1_8() override=default
ServerProxy1_8::parseHandshakeMessage
ConnectionResult parseHandshakeMessage(const uint8_t *code) override
Definition
ServerProxy1_8.cpp:24
ServerProxy1_8::ServerProxy1_8
ServerProxy1_8(Client *client, deskflow::IStream *stream, IEventQueue *events)
Definition
ServerProxy1_8.cpp:19
ServerProxy1_8::parseMessage
ConnectionResult parseMessage(const uint8_t *code) override
Definition
ServerProxy1_8.cpp:35
ServerProxy::ConnectionResult
ConnectionResult
Definition
ServerProxy.h:58
deskflow::IStream
Bidirectional stream interface.
Definition
IStream.h:22
deskflow::KeyboardLayoutManager
Definition
KeyboardLayoutManager.h:15
src
lib
client
ServerProxy1_8.h
Generated by
1.18.0