Files
deskflow/src/lib/deskflow/ClientArgs.h

43 lines
979 B
C++

/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2014 - 2016 Symless Ltd.
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#pragma once
#include "ArgsBase.h"
namespace deskflow {
enum class ClientScrollDirection
{
Normal = 1, //!< Same direction as the server
Inverted = -1 //!< Inverted scroll direction from the server
};
class ClientArgs : public ArgsBase
{
/// Public functions
public:
ClientArgs();
~ClientArgs() override = default;
public:
int m_yscroll = 0;
bool m_enableLangSync = false; /// @brief Should keyboard input be in same language as on server
/**
* @brief m_clientScrollDirection
* This option is responcible for scroll direction on client side.
*/
ClientScrollDirection m_clientScrollDirection = ClientScrollDirection::Normal;
/**
* @brief m_serverAddress stores deskflow server address
*/
std::string m_serverAddress;
};
} // namespace deskflow