diff options
author | Pierre Ossman <ossman@cendio.se> | 2009-03-13 14:41:27 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2009-03-13 14:41:27 +0000 |
commit | f99c5719e465eb00b7e1bd9c16720ede6fa08b52 (patch) | |
tree | 9e5898466b865e4cad6c451703ce3acfdb47954f /win/winvnc | |
parent | 4f0f7db92b11a87660424132bfbbf872ec3cc2e6 (diff) | |
download | tigervnc-f99c5719e465eb00b7e1bd9c16720ede6fa08b52.tar.gz tigervnc-f99c5719e465eb00b7e1bd9c16720ede6fa08b52.zip |
Remove file transfer support.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3677 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/winvnc')
-rw-r--r-- | win/winvnc/VNCServerWin32.cxx | 8 | ||||
-rw-r--r-- | win/winvnc/VNCServerWin32.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/win/winvnc/VNCServerWin32.cxx b/win/winvnc/VNCServerWin32.cxx index 6412aaec..9e8fa887 100644 --- a/win/winvnc/VNCServerWin32.cxx +++ b/win/winvnc/VNCServerWin32.cxx @@ -27,7 +27,6 @@ #include <rfb/SSecurityFactoryStandard.h> #include <rfb/Hostname.h> #include <rfb/LogWriter.h> -#include <rfb_win32/SFileTransferWin32.h> using namespace rfb; using namespace win32; @@ -39,9 +38,6 @@ static LogWriter vlog("VNCServerWin32"); const TCHAR* winvnc::VNCServerWin32::RegConfigPath = _T("Software\\TigerVNC\\WinVNC4"); -// FIXME: Move into an .h file? -extern const UINT VNCM_FT_DOWNLOAD; - static IntParameter http_port("HTTPPortNumber", "TCP/IP port on which the server will serve the Java applet VNC Viewer ", 5800); @@ -75,8 +71,6 @@ VNCServerWin32::VNCServerWin32() // Register the queued command event to be handled sockMgr.addEvent(commandEvent, this); - - vncServer.setFTManager((rfb::SFileTransferManager *)&m_FTManager); } VNCServerWin32::~VNCServerWin32() { @@ -183,8 +177,6 @@ int VNCServerWin32::run() { throw rdr::SystemException("getMessage", GetLastError()); if (!isServiceProcess() && (result == 0)) break; - if (msg.message == VNCM_FT_DOWNLOAD) - m_FTManager.processDownloadMsg(msg); TranslateMessage(&msg); DispatchMessage(&msg); } diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h index 579a6a0b..f05f2c70 100644 --- a/win/winvnc/VNCServerWin32.h +++ b/win/winvnc/VNCServerWin32.h @@ -26,7 +26,6 @@ #include <rfb_win32/SDisplay.h> #include <rfb_win32/SocketManager.h> #include <rfb_win32/TCharArray.h> -#include <rfb_win32/SFileTransferManagerWin32.h> #include <winvnc/QueryConnectDialog.h> #include <winvnc/JavaViewer.h> #include <winvnc/ManagedListener.h> @@ -122,7 +121,6 @@ namespace winvnc { //rfb::SSecurityFactoryStandard securityFactory; QueryConnectDialog* queryConnectDialog; - rfb::win32::SFileTransferManagerWin32 m_FTManager; }; }; |