Rabbit Remote Control 0.0.35
Loading...
Searching...
No Matches
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
14class CHook : public QObject
15{
16public:
17 static CHook* GetHook(CParameterClient* pParaClient, QObject *parent = nullptr);
18
19 virtual int RegisterKeyboard();
20 virtual int UnRegisterKeyboard();
21
22public:
23 // QObject interface
24 virtual bool eventFilter(QObject *watched, QEvent *event) override;
25
26protected:
27 CParameterClient* m_pParameterClient;
28
29protected:
30 explicit CHook(CParameterClient* pParaClient, QObject *parent = nullptr);
31 virtual ~CHook();
32};
33
34#endif // CHOOK_H
The class is the HOOK abstract class.
Definition Hook.h:15
The parameters of client.