Deskflow
1.26.0.134
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
Enums.h
Go to the documentation of this file.
1
/*
2
* Deskflow -- mouse and keyboard sharing utility
3
* SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
4
* SPDX-FileCopyrightText: (C) 2010 - 2018, 2024 - 2025 Symless Ltd.
5
* SPDX-FileCopyrightText: (C) 2002 - 2007 Chris Schoeneman
6
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7
*/
8
9
#pragma once
10
11
#include <QObject>
12
13
namespace
deskflow::client
{
14
Q_NAMESPACE
15
enum class
ErrorType
: uint8_t
16
{
17
NoError
,
18
AlreadyConnected
,
19
HostnameError
,
20
GenericError
21
};
22
Q_ENUM_NS(
ErrorType
)
23
}
// namespace deskflow::client
24
25
namespace
deskflow::core
{
26
Q_NAMESPACE
27
28
enum class
ProcessState
29
{
30
Starting
,
31
Started
,
32
Stopping
,
33
Stopped
,
34
RetryPending
35
};
36
Q_ENUM_NS(
ProcessState
)
37
38
enum class
ConnectionState
39
{
40
Disconnected
,
41
Connecting
,
42
Connected
,
43
Listening
44
};
45
Q_ENUM_NS(
ConnectionState
)
46
47
enum class
ConnectionRefusal
48
{
49
IncompatibleVersion
,
50
AlreadyConnected
,
51
UnknownClient
,
52
ProtocolError
53
};
54
Q_ENUM_NS(
ConnectionRefusal
)
55
56
}
// namespace deskflow::core
ConnectionState
deskflow::core::ConnectionState ConnectionState
Definition
StatusBar.h:17
ProcessState
deskflow::core::ProcessState ProcessState
Definition
StatusBar.h:16
deskflow::client
Definition
Enums.h:13
deskflow::client::ErrorType
ErrorType
Definition
Enums.h:16
deskflow::client::ErrorType::AlreadyConnected
@ AlreadyConnected
Definition
Enums.h:18
deskflow::client::ErrorType::HostnameError
@ HostnameError
Definition
Enums.h:19
deskflow::client::ErrorType::NoError
@ NoError
Definition
Enums.h:17
deskflow::client::ErrorType::GenericError
@ GenericError
Definition
Enums.h:20
deskflow::core
Definition
DaemonApp.h:20
deskflow::core::ConnectionState
ConnectionState
Definition
Enums.h:39
deskflow::core::ConnectionState::Connected
@ Connected
Definition
Enums.h:42
deskflow::core::ConnectionState::Listening
@ Listening
Definition
Enums.h:43
deskflow::core::ConnectionState::Connecting
@ Connecting
Definition
Enums.h:41
deskflow::core::ConnectionState::Disconnected
@ Disconnected
Definition
Enums.h:40
deskflow::core::ProcessState
ProcessState
Definition
Enums.h:29
deskflow::core::ProcessState::Stopping
@ Stopping
Definition
Enums.h:32
deskflow::core::ProcessState::Started
@ Started
Definition
Enums.h:31
deskflow::core::ProcessState::RetryPending
@ RetryPending
Definition
Enums.h:34
deskflow::core::ProcessState::Stopped
@ Stopped
Definition
Enums.h:33
deskflow::core::ProcessState::Starting
@ Starting
Definition
Enums.h:30
deskflow::core::ConnectionRefusal
ConnectionRefusal
Definition
Enums.h:48
deskflow::core::ConnectionRefusal::AlreadyConnected
@ AlreadyConnected
Definition
Enums.h:50
deskflow::core::ConnectionRefusal::IncompatibleVersion
@ IncompatibleVersion
Definition
Enums.h:49
deskflow::core::ConnectionRefusal::ProtocolError
@ ProtocolError
Definition
Enums.h:52
deskflow::core::ConnectionRefusal::UnknownClient
@ UnknownClient
Definition
Enums.h:51
src
lib
common
Enums.h
Generated by
1.16.1