Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
DesktopXLib.h
1#ifndef CDESKTOPXLIB_H
2#define CDESKTOPXLIB_H
3
4#pragma once
5#include "Desktop.h"
6
7class CDesktopXLib : public CDesktop
8{
9 Q_OBJECT
10public:
11 explicit CDesktopXLib(QObject *parent = nullptr);
12
13 virtual int Width() override;
14 virtual int Height() override;
15 virtual QImage GetDesktop() override;
16 virtual QImage GetDesktop(int x, int y, int width, int height) override;
17
18 virtual QImage GetCursor(QPoint &pos, QPoint &posHot) override;
19 virtual QPoint GetCursorPosition() override;
20 virtual bool GetHasCursor() const;
21 virtual void SetHasCursor(bool hasCursor);
22};
23
24#endif // CDESKTOPXLIB_H