summaryrefslogtreecommitdiffstats
path: root/src/client/vnc/vncserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/vnc/vncserver.cpp')
-rw-r--r--src/client/vnc/vncserver.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/vnc/vncserver.cpp b/src/client/vnc/vncserver.cpp
index 3eca952..3cb640c 100644
--- a/src/client/vnc/vncserver.cpp
+++ b/src/client/vnc/vncserver.cpp
@@ -55,6 +55,13 @@ VncServer::~VncServer()
// TODO Auto-generated destructor stub
}
+bool VncServer::isVncServerRunning()
+{
+ if (_port > 0)
+ return true;
+ return false;
+}
+
void VncServer::start()
{
// Keep things clean