Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IScreen Class Referenceabstract

Screen interface. More...

#include <IScreen.h>

Inheritance diagram for IScreen:
Collaboration diagram for IScreen:

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.

Detailed Description

Screen interface.

This interface defines the methods common to all screens.

Member Function Documentation

◆ getClipboard()

virtual bool IScreen::getClipboard ( ClipboardID id,
IClipboard *  ) const
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.

◆ getCursorPos()

virtual void IScreen::getCursorPos ( int32_t & x,
int32_t & y ) const
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.

◆ getEventTarget()

virtual void * IScreen::getEventTarget ( ) const
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.

◆ getShape()

virtual void IScreen::getShape ( int32_t & x,
int32_t & y,
int32_t & width,
int32_t & height ) const
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.


The documentation for this class was generated from the following file: