Rabbit Remote Control
0.1.0-bate14
Toggle main menu visibility
Loading...
Searching...
No Matches
Plugins
LibVNCServer
Service
PluginServiceLibVNCServer.cpp
1
#include "PluginServiceLibVNCServer.h"
2
#include "RabbitCommonDir.h"
3
#include "ServiceLibVNCServer.h"
4
5
#include <QLoggingCategory>
6
Q_LOGGING_CATEGORY(LibVNCServer,
"LibVNCServer"
)
7
8
CPluginServiceLibVNCServer
::
CPluginServiceLibVNCServer
(QObject *parent)
9
:
CPluginServiceThread
(parent)
10
{
11
}
12
13
CPluginServiceLibVNCServer::~CPluginServiceLibVNCServer()
14
{
15
qDebug(LibVNCServer) <<
"CPluginServiceLibVNCServer::~CPluginServiceLibVNCServer()"
;
16
}
17
18
const
QString
CPluginServiceLibVNCServer::Protocol
()
const
19
{
20
return
"RFB"
;
21
}
22
23
const
QString
CPluginServiceLibVNCServer::Name
()
const
24
{
25
return
"LibVNCServer"
;
26
}
27
28
const
QString
CPluginServiceLibVNCServer::Description
()
const
29
{
30
return
tr(
"VNC(Virtual Network Console): Access remote desktops such as unix/linux, windows, etc."
) +
"\n"
31
+ tr(
"VNC is a set of programs using the RFB (Remote Frame Buffer) protocol."
);
32
}
33
34
CService
*
CPluginServiceLibVNCServer::NewService
()
35
{
36
return
new
CServiceLibVNCServer
(
this
);
37
}
38
CPluginServiceLibVNCServer
Definition
PluginServiceLibVNCServer.h:8
CPluginServiceLibVNCServer::NewService
virtual CService * NewService() override
New service.
Definition
PluginServiceLibVNCServer.cpp:34
CPluginServiceLibVNCServer::Protocol
virtual const QString Protocol() const override
Plugin Protocol.
Definition
PluginServiceLibVNCServer.cpp:18
CPluginServiceLibVNCServer::Name
virtual const QString Name() const override
This name must be the same as the project name (${PROJECT_NAME}).
Definition
PluginServiceLibVNCServer.cpp:23
CPluginServiceLibVNCServer::Description
virtual const QString Description() const override
Plugin description.
Definition
PluginServiceLibVNCServer.cpp:28
CPluginServiceThread
The service plugin interface.
Definition
PluginServiceThread.h:18
CServiceLibVNCServer
Definition
ServiceLibVNCServer.h:8
CService
The service interface.
Definition
Service.h:38
Author: Kang Lin (kl222@126.com)
Copyright (c) Kang Lin Studios All Rights Reserved