Added the file transfer feature to the server side.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@534 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/VNCServerST.h b/rfb/VNCServerST.h
index 3d25fca..9d5fe95 100644
--- a/rfb/VNCServerST.h
+++ b/rfb/VNCServerST.h
@@ -33,6 +33,7 @@
#include <rfb/Cursor.h>
#include <network/Socket.h>
#include <rfb/ListConnInfo.h>
+#include <rfb/SFileTransferManager.h>
namespace rfb {
@@ -111,7 +112,6 @@
void addClient(network::Socket* sock, bool reverse);
-
// getSockets() gets a list of sockets. This can be used to generate an
// fd_set for calling select().
@@ -191,8 +191,10 @@
void getConnInfo(ListConnInfo * listConn);
void setConnStatus(ListConnInfo* listConn);
- bool getDisable() { return disableclients; }
- void setDisable(bool disable) { disableclients = disable; }
+ bool getDisable() { return disableclients;};
+ void setDisable(bool disable) { disableclients = disable;};
+
+ void setFTManager(rfb::SFileTransferManager *pFTManager) { m_pFTManager = pFTManager; };
protected:
@@ -208,6 +210,8 @@
bool desktopStarted;
PixelBuffer* pb;
+ SFileTransferManager *m_pFTManager;
+
CharArray name;
std::list<VNCSConnectionST*> clients;