Rabbit Remote Control 0.1.0-bate16
Loading...
Searching...
No Matches
OperateLibVNCServer.cpp
1// Author: Kang Lin <kl222@126.com>
2
3#include <QLoggingCategory>
4
5#include "OperateLibVNCServer.h"
6#include "DlgSettingsLibVnc.h"
7#include "BackendLibVNCServer.h"
8
9static Q_LOGGING_CATEGORY(log, "LibVNCServer.Operate")
10
12 : COperateDesktop(plugin)
13{
14 qDebug(log) << Q_FUNC_INFO;
15}
16
17COperateLibVNCServer::~COperateLibVNCServer()
18{
19 qDebug(log) << Q_FUNC_INFO;
20}
21
23{
24 return 0;
25}
26
28{
29 qDebug(log) << Q_FUNC_INFO;
30 int nRet = 0;
32 if(nRet) return nRet;
33 nRet = SetParameter(&m_Para);
34 return nRet;
35}
36
38{
39 qDebug(log) << Q_FUNC_INFO;
40 int nRet = 0;
42 return nRet;
43}
44
46{
47 return new CDlgSettingsLibVnc(&m_Para, parent);
48}
49
Backend interface.
Definition Backend.h:52
Remote desktop operate interface.
virtual int SetParameter(CParameterDesktop *p)
Set parameter pointer.
virtual int Initial() override
Initial parameters and resource.
virtual int Clean() override
Clean parameters and resource.
virtual CBackend * InstanceBackend() override
New CBackend.
virtual int Clean() override
Clean parameters and resource.
virtual QDialog * OnOpenDialogSettings(QWidget *parent) override
Open settgins dialog.
virtual int Initial() override
Initial parameters and resource.
virtual const qint16 Version() const override
[The description of the desktop operate]
Plugin interface.
Definition Plugin.h:15