Deskflow 1.27.0.5
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IComputer Class Referenceabstract

Computer interface. More...

#include <IComputer.h>

Inheritance diagram for IComputer:

Classes

struct  ClipboardInfo

Public Member Functions

virtual ~IComputer ()=default
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 computer shape.
virtual void getCursorPos (int32_t &x, int32_t &y) const =0
 Get cursor position.

Detailed Description

Computer interface.

This interface defines the methods common to all computers.

Constructor & Destructor Documentation

◆ ~IComputer()

virtual IComputer::~IComputer ( )
virtualdefault

Member Function Documentation

◆ getClipboard()

virtual bool IComputer::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::Computer, deskflow::EiComputer, MSWindowsComputer, OSXComputer, PlatformComputer, PrimaryClient, and XWindowsComputer.

◆ getCursorPos()

virtual void IComputer::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::Computer, MSWindowsComputer, OSXComputer, PlatformComputer, PrimaryClient, and XWindowsComputer.

◆ getEventTarget()

virtual void * IComputer::getEventTarget ( ) const
pure virtual

Get event target.

Returns the target used for events created by this object.

Implemented in BaseClientProxy, Client, ClientProxy, deskflow::Computer, deskflow::EiComputer, MSWindowsComputer, OSXComputer, PlatformComputer, PrimaryClient, and XWindowsComputer.

◆ getShape()

virtual void IComputer::getShape ( int32_t & x,
int32_t & y,
int32_t & width,
int32_t & height ) const
pure virtual

Get computer shape.

Return the position of the upper-left corner of the computer in x and y and the size of the computer in width and height.

Implemented in BaseClientProxy, Client, ClientProxy1_0, ClientProxy, deskflow::Computer, MSWindowsComputer, OSXComputer, PlatformComputer, PrimaryClient, and XWindowsComputer.


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