#include <CBaseClientProxy.h>
Inherits IClient.
Inherited by CClientProxy, and CPrimaryClient.
Inheritance diagram for CBaseClientProxy:
Public Member Functions | |
CBaseClientProxy (const CString &name) | |
virtual void * | getEventTarget () const =0 |
Get event target. | |
virtual bool | getClipboard (ClipboardID id, IClipboard *) const =0 |
Get clipboard. | |
virtual void | getShape (SInt32 &x, SInt32 &y, SInt32 &width, SInt32 &height) const =0 |
Get screen shape. | |
virtual void | getCursorPos (SInt32 &x, SInt32 &y) const =0 |
Get cursor position. | |
virtual void | enter (SInt32 xAbs, SInt32 yAbs, UInt32 seqNum, KeyModifierMask mask, bool forScreensaver)=0 |
Enter screen. | |
virtual bool | leave ()=0 |
Leave screen. | |
virtual void | setClipboard (ClipboardID, const IClipboard *)=0 |
Set clipboard. | |
virtual void | grabClipboard (ClipboardID)=0 |
Grab clipboard. | |
virtual void | setClipboardDirty (ClipboardID, bool)=0 |
Mark clipboard dirty. | |
virtual void | keyDown (KeyID, KeyModifierMask, KeyButton)=0 |
Notify of key press. | |
virtual void | keyRepeat (KeyID, KeyModifierMask, SInt32 count, KeyButton)=0 |
Notify of key repeat. | |
virtual void | keyUp (KeyID, KeyModifierMask, KeyButton)=0 |
Notify of key release. | |
virtual void | mouseDown (ButtonID)=0 |
Notify of mouse press. | |
virtual void | mouseUp (ButtonID)=0 |
Notify of mouse release. | |
virtual void | mouseMove (SInt32 xAbs, SInt32 yAbs)=0 |
Notify of mouse motion. | |
virtual void | mouseRelativeMove (SInt32 xRel, SInt32 yRel)=0 |
Notify of mouse motion. | |
virtual void | mouseWheel (SInt32 xDelta, SInt32 yDelta)=0 |
Notify of mouse wheel motion. | |
virtual void | screensaver (bool activate)=0 |
Notify of screen saver change. | |
virtual void | resetOptions ()=0 |
Notify of options changes. | |
virtual void | setOptions (const COptionsList &options)=0 |
Notify of options changes. | |
virtual CString | getName () const |
Get client name. | |
manipulators | |
void | setJumpCursorPos (SInt32 x, SInt32 y) |
Save cursor position. | |
accessors | |
void | getJumpCursorPos (SInt32 &x, SInt32 &y) const |
Get cursor position. |
Definition at line 22 of file CBaseClientProxy.h.
|
Definition at line 21 of file CBaseClientProxy.cpp. |
|
Enter screen.
Enter the screen. The cursor should be warped to Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Get clipboard.
Save the contents of the clipboard indicated by Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Get cursor position.
Return the current position of the cursor in Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Get event target. Returns the target used for events created by this object. Implements IClient. Implemented in CClientProxy, and CPrimaryClient. |
|
Get cursor position. Get the position of the cursor when last jumping from client. Definition at line 42 of file CBaseClientProxy.cpp. |
|
|
Get screen shape.
Return the position of the upper-left corner of the screen in Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Grab clipboard. Grab (i.e. take ownership of) the client's clipboard. Since this is called when another client takes ownership of the clipboard it implies that the client's clipboard is out of date. Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Notify of key press.
Synthesize key events to generate a press of key Implements IClient. Implemented in CClientProxy, CClientProxy1_0, CClientProxy1_1, and CPrimaryClient. |
|
Notify of key repeat.
Synthesize key events to generate a press and release of key Implements IClient. Implemented in CClientProxy, CClientProxy1_0, CClientProxy1_1, and CPrimaryClient. |
|
Notify of key release.
Synthesize key events to generate a release of key Implements IClient. Implemented in CClientProxy, CClientProxy1_0, CClientProxy1_1, and CPrimaryClient. |
|
Leave screen. Leave the screen. Return false iff the user may not leave the client's screen (because, for example, a button is down). Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Notify of mouse press.
Synthesize mouse events to generate a press of mouse button Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Notify of mouse motion.
Synthesize mouse events to generate mouse motion to the absolute screen position Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Notify of mouse motion.
Synthesize mouse events to generate mouse motion by the relative amount Implements IClient. Implemented in CClientProxy, CClientProxy1_0, CClientProxy1_2, and CPrimaryClient. |
|
Notify of mouse release.
Synthesize mouse events to generate a release of mouse button Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Notify of mouse wheel motion.
Synthesize mouse events to generate mouse wheel motion of Implements IClient. Implemented in CClientProxy, CClientProxy1_0, CClientProxy1_3, and CPrimaryClient. |
|
Notify of options changes. Reset all options to their default values. Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Set clipboard.
Update the client's clipboard. This implies that the client's clipboard is now up to date. If the client's clipboard was already known to be up to date then this may do nothing. Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Mark clipboard dirty. Mark the client's clipboard as dirty (out of date) or clean (up to date). Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |
|
Save cursor position. Save the position of the cursor when jumping from client. Definition at line 35 of file CBaseClientProxy.cpp. |
|
Notify of options changes.
Set options to given values. Ignore unknown options and don't modify our options that aren't given in Implements IClient. Implemented in CClientProxy, CClientProxy1_0, and CPrimaryClient. |