aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/FileTransfer.h
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-11-28 06:12:44 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-11-28 06:12:44 +0000
commit6806fec02fab3424845185968487a9c332cac0f3 (patch)
tree424fd77f51f6cf11ca3dc2ba28d3b46e6be0c514 /vncviewer/FileTransfer.h
parente3555590ec6595e6e3c383f02d0e6883bbde0edc (diff)
downloadtigervnc-6806fec02fab3424845185968487a9c332cac0f3.tar.gz
tigervnc-6806fec02fab3424845185968487a9c332cac0f3.zip
Big code evolution for file transfer feature.
Added methods to the TransferQueue class for flag managing. Added upload() and download() methods to the FileTransfer class. Reconstruction of FTProgress class. Code improvements. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@418 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/FileTransfer.h')
-rw-r--r--vncviewer/FileTransfer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vncviewer/FileTransfer.h b/vncviewer/FileTransfer.h
index 805c10ec..71ecf0af 100644
--- a/vncviewer/FileTransfer.h
+++ b/vncviewer/FileTransfer.h
@@ -49,6 +49,12 @@ namespace rfb {
void requestFileList(char *pPath, int dest, bool bDirOnly);
+ void upload(TransferQueue *pTransQueue);
+ void download(TransferQueue *pTransQueue);
+
+ bool isTransferEnable();
+ void resizeSending();
+
private:
bool m_bFTDlgShown;
bool m_bInitialized;
@@ -59,6 +65,8 @@ namespace rfb {
FTMsgWriter *m_pWriter;
FileInfo m_queueFileListRqst;
+
+ TransferQueue m_TransferQueue;
bool procFileListDataMsg();
bool procFileDownloadDataMsg();