Line | |
---|
1 | /*
|
---|
2 | * synergy -- mouse and keyboard sharing utility
|
---|
3 | * Copyright (C) 2002 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 "CClientProxy1_2.h"
|
---|
16 | #include "CProtocolUtil.h"
|
---|
17 | #include "CLog.h"
|
---|
18 |
|
---|
19 | //
|
---|
20 | // CClientProxy1_1
|
---|
21 | //
|
---|
22 |
|
---|
23 | CClientProxy1_2::CClientProxy1_2(const CString& name, IStream* stream) :
|
---|
24 | CClientProxy1_1(name, stream)
|
---|
25 | {
|
---|
26 | // do nothing
|
---|
27 | }
|
---|
28 |
|
---|
29 | CClientProxy1_2::~CClientProxy1_2()
|
---|
30 | {
|
---|
31 | // do nothing
|
---|
32 | }
|
---|
33 |
|
---|
34 | void
|
---|
35 | CClientProxy1_2::mouseRelativeMove(SInt32 xRel, SInt32 yRel)
|
---|
36 | {
|
---|
37 | LOG((CLOG_DEBUG2 "send mouse relative move to \"%s\" %d,%d", getName().c_str(), xRel, yRel));
|
---|
38 | CProtocolUtil::writef(getStream(), kMsgDMouseRelMove, xRel, yRel);
|
---|
39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.