Rabbit Remote Control
0.0.35
Loading...
Searching...
No Matches
Client
Hook.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CHOOK_H
4
#define CHOOK_H
5
6
#include <QObject>
7
#include "ParameterClient.h"
8
14
class
CHook
:
public
QObject
15
{
16
public
:
17
static
CHook
* GetHook(
CParameterClient
* pParaClient, QObject *parent =
nullptr
);
18
19
virtual
int
RegisterKeyboard();
20
virtual
int
UnRegisterKeyboard();
21
22
public
:
23
// QObject interface
24
virtual
bool
eventFilter(QObject *watched, QEvent *event)
override
;
25
26
protected
:
27
CParameterClient
* m_pParameterClient;
28
29
protected
:
30
explicit
CHook
(
CParameterClient
* pParaClient, QObject *parent =
nullptr
);
31
virtual
~CHook
();
32
};
33
34
#endif
// CHOOK_H
CHook
The class is the HOOK abstract class.
Definition
Hook.h:15
CParameterClient
The parameters of client.
Definition
ParameterClient.h:36
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力