deskflow/src/lib/synergy/ServerArgs.h
Ignacio Rodriguez 0f779c7f76 improved takes
2020-11-03 20:24:44 +07:00

52 lines
No EOL
1.7 KiB
C++

/*
* synergy -- mouse and keyboard sharing utility
* Copyright (C) 2014-2020 Symless Ltd.
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
*
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SYNERGY_CORE_SERVERARGS_H
#define SYNERGY_CORE_SERVERARGS_H
#include <memory>
#include "ArgsBase.h"
#include "shared/SerialKey.h"
#include "server/Config.h"
namespace lib {
namespace synergy {
class ServerArgs : public ArgsBase {
/// Public Functions
public:
ServerArgs();
ServerArgs(ServerArgs const &src) =default;
ServerArgs(ServerArgs &&) =default;
~ServerArgs() override;
ServerArgs& operator=(ServerArgs const &) =default;
ServerArgs& operator=(ServerArgs &&) =default;
/// Public variables
public:
String m_configFile = ""; /// @brief Contains the path to the config file
SerialKey m_serial; /// @brief Contains the serial number and license info
std::shared_ptr<Config> m_config; /// @brief Contains the Parsed Configuration settings
/// Private Functions
private:
};
}
}
#endif //SYNERGY_CORE_SERVERARGS_H