removed dead vnc integration attempt.

This commit is contained in:
Nick Bolton
2013-05-31 15:43:37 +00:00
parent 7ab09dffd9
commit 1b969a4283
12 changed files with 2 additions and 186 deletions

View File

@@ -40,9 +40,6 @@
#if SYSAPI_WIN32
#include "CArchMiscWindows.h"
#if VNC_SUPPORT
#include "vnc/win/winvnc/winvnc.h"
#endif
#endif
#if SYSAPI_WIN32 && GAME_DEVICE_SUPPORT
@@ -66,15 +63,12 @@
CClientApp::CClientApp(CreateTaskBarReceiverFunc createTaskBarReceiver) :
CApp(createTaskBarReceiver, new CArgs()),
s_client(NULL),
s_clientScreen(NULL),
m_vncThread(NULL)
s_clientScreen(NULL)
{
}
CClientApp::~CClientApp()
{
if (m_vncThread)
delete m_vncThread;
}
CClientApp::CArgs::CArgs() :
@@ -618,11 +612,6 @@ CClientApp::runInner(int argc, char** argv, ILogOutputter* outputter, StartupFun
void
CClientApp::startNode()
{
if (args().m_enableVnc) {
m_vncThread = new CThread(new TMethodJob<CClientApp>(
this, &CClientApp::vncThread, NULL));
}
// start the client. if this return false then we've failed and
// we shouldn't retry.
LOG((CLOG_DEBUG1 "starting client"));
@@ -630,11 +619,3 @@ CClientApp::startNode()
m_bye(kExitFailed);
}
}
void
CClientApp::vncThread(void*)
{
#if VNC_SUPPORT
vncServerMain(0, NULL);
#endif
}