Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CBaseClientProxy.cpp

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2006 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #include "CBaseClientProxy.h"
00016 
00017 //
00018 // CBaseClientProxy
00019 //
00020 
00021 CBaseClientProxy::CBaseClientProxy(const CString& name) :
00022     m_name(name),
00023     m_x(0),
00024     m_y(0)
00025 {
00026     // do nothing
00027 }
00028 
00029 CBaseClientProxy::~CBaseClientProxy()
00030 {
00031     // do nothing
00032 }
00033 
00034 void
00035 CBaseClientProxy::setJumpCursorPos(SInt32 x, SInt32 y)
00036 {
00037     m_x = x;
00038     m_y = y;
00039 }
00040 
00041 void
00042 CBaseClientProxy::getJumpCursorPos(SInt32& x, SInt32& y) const
00043 {
00044     x = m_x;
00045     y = m_y;
00046 }
00047 
00048 CString
00049 CBaseClientProxy::getName() const
00050 {
00051     return m_name;
00052 }

Generated on Fri Nov 6 00:21:13 2009 for synergy-plus by  doxygen 1.3.9.1