Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
#include <IScreen.h>
Classes | |
struct | ClipboardInfo |
Public Member Functions | |
accessors | |
virtual void * | getEventTarget () const =0 |
Get event target. | |
virtual bool | getClipboard (ClipboardID id, IClipboard *) const =0 |
Get clipboard. | |
virtual void | getShape (int32_t &x, int32_t &y, int32_t &width, int32_t &height) const =0 |
Get screen shape. | |
virtual void | getCursorPos (int32_t &x, int32_t &y) const =0 |
Get cursor position. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Screen interface.
This interface defines the methods common to all screens.
|
pure virtual |
Get clipboard.
Save the contents of the clipboard indicated by id
and return true iff successful.
Implemented in BaseClientProxy, Client, ClientProxy1_0, ClientProxy, deskflow::EiScreen, deskflow::Screen, IClient, IPlatformScreen, MSWindowsScreen, OSXScreen, PlatformScreen, PrimaryClient, and XWindowsScreen.
|
pure virtual |
Get cursor position.
Return the current position of the cursor in x
and y
.
Implemented in BaseClientProxy, Client, ClientProxy1_0, ClientProxy, deskflow::Screen, IClient, IPlatformScreen, MSWindowsScreen, OSXScreen, PlatformScreen, PrimaryClient, and XWindowsScreen.
|
pure virtual |
Get event target.
Returns the target used for events created by this object.
Implemented in BaseClientProxy, Client, ClientProxy, deskflow::EiScreen, deskflow::Screen, IClient, IPlatformScreen, MSWindowsScreen, OSXScreen, PlatformScreen, PrimaryClient, and XWindowsScreen.
|
pure virtual |
Get screen shape.
Return the position of the upper-left corner of the screen in x
and y
and the size of the screen in width
and height
.
Implemented in BaseClientProxy, Client, ClientProxy1_0, ClientProxy, deskflow::Screen, IClient, IPlatformScreen, MSWindowsScreen, OSXScreen, PlatformScreen, PrimaryClient, and XWindowsScreen.