Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ServerArgs.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2014 - 2020 Symless Ltd.
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
9#include "ArgsBase.h"
10#include "server/Config.h"
11
12#include <memory>
13
14namespace deskflow {
15
16class ServerArgs : public ArgsBase
17{
18 using Config = deskflow::server::Config;
19
20public:
21 ServerArgs();
22 ServerArgs(ServerArgs const &src) = default;
23 ServerArgs(ServerArgs &&) = default;
24 ~ServerArgs() override = default;
25
26 ServerArgs &operator=(ServerArgs const &) = default;
28
29public:
30 std::string m_configFile = "";
31 std::shared_ptr<Config> m_config;
32 bool m_chkPeerCert = true;
33};
34
35} // namespace deskflow
ServerArgs(ServerArgs &&)=default
ServerArgs(ServerArgs const &src)=default
std::string m_configFile
Definition ServerArgs.h:30
ServerArgs & operator=(ServerArgs &&)=default
ServerArgs & operator=(ServerArgs const &)=default
bool m_chkPeerCert
Definition ServerArgs.h:32
ServerArgs()
Definition ServerArgs.cpp:11
std::shared_ptr< Config > m_config
Definition ServerArgs.h:31
~ServerArgs() override=default
Server configuration.
Definition Config.h:53
Definition EventTypes.h:11