deskflow/src/lib/server/BaseClientProxy.cpp
sithlord48 1085df54ed refactor: Reuse compliance
build files and documentation: MIT
  images / sources: GPL-2.0-only
  breeze icons: LGPL-2.0-only
  Microsoft MSM file, vc redist license
2025-01-27 17:05:47 -05:00

39 lines
722 B
C++

/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2006 Chris Schoeneman
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
*/
#include "server/BaseClientProxy.h"
//
// BaseClientProxy
//
BaseClientProxy::BaseClientProxy(const std::string &name) : m_name(name), m_x(0), m_y(0)
{
// do nothing
}
BaseClientProxy::~BaseClientProxy()
{
// do nothing
}
void BaseClientProxy::setJumpCursorPos(int32_t x, int32_t y)
{
m_x = x;
m_y = y;
}
void BaseClientProxy::getJumpCursorPos(int32_t &x, int32_t &y) const
{
x = m_x;
y = m_y;
}
std::string BaseClientProxy::getName() const
{
return m_name;
}