Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
Service
DesktopXLib.h
1
#ifndef CDESKTOPXLIB_H
2
#define CDESKTOPXLIB_H
3
4
#pragma once
5
#include "Desktop.h"
6
7
class
CDesktopXLib
:
public
CDesktop
8
{
9
Q_OBJECT
10
public
:
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
CDesktopXLib
Definition
DesktopXLib.h:8
CDesktop
Definition
Desktop.h:15
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力