Proxy for client implementing protocol version 1.1. More...
#include <CClientProxy1_1.h>
Inherits CClientProxy1_0.
Inherited by CClientProxy1_2.
Public Member Functions | |
CClientProxy1_1 (const CString &name, IStream *adoptedStream) | |
virtual void | keyDown (KeyID, KeyModifierMask, KeyButton) |
Notify of key press. | |
virtual void | keyRepeat (KeyID, KeyModifierMask, SInt32 count, KeyButton) |
Notify of key repeat. | |
virtual void | keyUp (KeyID, KeyModifierMask, KeyButton) |
Notify of key release. |
Proxy for client implementing protocol version 1.1.
Definition at line 21 of file CClientProxy1_1.h.
void CClientProxy1_1::keyDown | ( | KeyID | id, | |
KeyModifierMask | , | |||
KeyButton | ||||
) | [virtual] |
Notify of key press.
Synthesize key events to generate a press of key id
. If possible match the given modifier mask. The KeyButton identifies the physical key on the server that generated this key down. The client must ensure that a key up or key repeat that uses the same KeyButton will synthesize an up or repeat for the same client key synthesized by keyDown().
Reimplemented from CClientProxy1_0.
Definition at line 36 of file CClientProxy1_1.cpp.
References CBaseClientProxy::getName(), CClientProxy::getStream(), and CProtocolUtil::writef().
void CClientProxy1_1::keyRepeat | ( | KeyID | id, | |
KeyModifierMask | , | |||
SInt32 | count, | |||
KeyButton | ||||
) | [virtual] |
Notify of key repeat.
Synthesize key events to generate a press and release of key id
count
times. If possible match the given modifier mask.
Reimplemented from CClientProxy1_0.
Definition at line 43 of file CClientProxy1_1.cpp.
References CBaseClientProxy::getName(), CClientProxy::getStream(), and CProtocolUtil::writef().
void CClientProxy1_1::keyUp | ( | KeyID | id, | |
KeyModifierMask | , | |||
KeyButton | ||||
) | [virtual] |
Notify of key release.
Synthesize key events to generate a release of key id
. If possible match the given modifier mask.
Reimplemented from CClientProxy1_0.
Definition at line 51 of file CClientProxy1_1.cpp.
References CBaseClientProxy::getName(), CClientProxy::getStream(), and CProtocolUtil::writef().