Rabbit Remote Control 0.1.0-bate10
Loading...
Searching...
No Matches
BackendTemplateDesktop.cpp
1// Author: Kang Lin <kl222@126.com>
2
3#include <QLoggingCategory>
4#include "BackendTemplateDesktop.h"
5
6static Q_LOGGING_CATEGORY(log, "TemplateDesktop.Backend")
8 : CBackendDesktop(pOperate)
9{
10 qDebug(log) << Q_FUNC_INFO;
11}
12
13CBackendTemplateDesktop::~CBackendTemplateDesktop()
14{
15 qDebug(log) << Q_FUNC_INFO;
16}
17
34CBackend::OnInitReturnValue CBackendTemplateDesktop::OnInit()
35{
36 OnInitReturnValue ret = OnInitReturnValue::NotUseOnProcess;
37 // TODO: Modify Initialization
38
39 // When ready
40 emit sigRunning();
41
42 return ret;
43}
44
46{
47 int nRet = 0;
48 // TODO: Modify clean
49
50 return nRet;
51}
52
69{
70 // TODO: add event dispatch (non-Qt event loop)
71
72 // TODO: When an error occurs. emit sigStop();
73
74 return 0;
75}
76
77void CBackendTemplateDesktop::slotClipBoardChanged()
78{
79 // TODO: add clipboard operate
80
81}
Remote desktop interface.
virtual int OnClean() override
Clean.
virtual int OnProcess() override
Specific operation processing of plug-in.
virtual OnInitReturnValue OnInit() override
Initialization.
void sigRunning()
Emitted when the plugin is successfully started.