deskflow/src/lib/synergy/ServerArgs.h

46 lines
1.5 KiB
C
Raw Normal View History

/*
* 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 "ArgsBase.h"
#include "shared/SerialKey.h"
#include "server/Config.h"
namespace lib {
namespace synergy {
class ServerArgs : public ArgsBase {
/// Public Functions
public:
ServerArgs();
~ServerArgs() override;
/// 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
Config* m_config = nullptr; /// @brief Contains the Parsed Configuration settings
/// Private Functions
private:
};
}
}
#endif //SYNERGY_CORE_SERVERARGS_H