Line | |
---|
1 | /*
|
---|
2 | * synergy -- mouse and keyboard sharing utility
|
---|
3 | * Copyright (C) 2006 Chris Schoeneman
|
---|
4 | *
|
---|
5 | * This package is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU General Public License
|
---|
7 | * found in the file COPYING that should have accompanied this file.
|
---|
8 | *
|
---|
9 | * This package is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
12 | * GNU General Public License for more details.
|
---|
13 | */
|
---|
14 |
|
---|
15 | #include "CBaseClientProxy.h"
|
---|
16 |
|
---|
17 | //
|
---|
18 | // CBaseClientProxy
|
---|
19 | //
|
---|
20 |
|
---|
21 | CBaseClientProxy::CBaseClientProxy(const CString& name) :
|
---|
22 | m_name(name),
|
---|
23 | m_x(0),
|
---|
24 | m_y(0)
|
---|
25 | {
|
---|
26 | // do nothing
|
---|
27 | }
|
---|
28 |
|
---|
29 | CBaseClientProxy::~CBaseClientProxy()
|
---|
30 | {
|
---|
31 | // do nothing
|
---|
32 | }
|
---|
33 |
|
---|
34 | void
|
---|
35 | CBaseClientProxy::setJumpCursorPos(SInt32 x, SInt32 y)
|
---|
36 | {
|
---|
37 | m_x = x;
|
---|
38 | m_y = y;
|
---|
39 | }
|
---|
40 |
|
---|
41 | void
|
---|
42 | CBaseClientProxy::getJumpCursorPos(SInt32& x, SInt32& y) const
|
---|
43 | {
|
---|
44 | x = m_x;
|
---|
45 | y = m_y;
|
---|
46 | }
|
---|
47 |
|
---|
48 | CString
|
---|
49 | CBaseClientProxy::getName() const
|
---|
50 | {
|
---|
51 | return m_name;
|
---|
52 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.