summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-11-10 06:36:46 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-11-10 06:36:46 +0000
commitc08f042aa4ff68f473ad41cda8189af27d1ff558 (patch)
tree6da69042c3d9cff7524b0c00d4dabbfb915ae808 /vncviewer
parent63943a37116f0651079f0a99b0941f38219c31aa (diff)
downloadtigervnc-c08f042aa4ff68f473ad41cda8189af27d1ff558.tar.gz
tigervnc-c08f042aa4ff68f473ad41cda8189af27d1ff558.zip
Code evolution.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@395 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/FileTransfer.cxx48
-rw-r--r--vncviewer/FileTransfer.h9
2 files changed, 49 insertions, 8 deletions
diff --git a/vncviewer/FileTransfer.cxx b/vncviewer/FileTransfer.cxx
index 5da3c9fb..44cfb13b 100644
--- a/vncviewer/FileTransfer.cxx
+++ b/vncviewer/FileTransfer.cxx
@@ -74,20 +74,54 @@ FileTransfer::processFTMsg(int type)
switch (type)
{
case msgTypeFileListData:
- break;
+ return procFileListDataMsg();
case msgTypeFileDownloadData:
- break;
+ return procFileDownloadDataMsg();
case msgTypeFileUploadCancel:
- break;
+ return procFileUploadCancelMsg();
case msgTypeFileDownloadFailed:
- break;
+ return procFileDownloadFailedMsg();
case msgTypeFileDirSizeData:
- break;
+ return procFileDirSizeDataMsg();
case msgTypeFileLastRequestFailed:
- break;
+ return procFileLastRqstFailedMsg();
default:
return false;
}
+}
+
+bool
+FileTransfer::procFileListDataMsg()
+{
+ return false;
+}
+bool
+FileTransfer::procFileDownloadDataMsg()
+{
return false;
-} \ No newline at end of file
+}
+
+bool
+FileTransfer::procFileUploadCancelMsg()
+{
+ return false;
+}
+
+bool
+FileTransfer::procFileDownloadFailedMsg()
+{
+ return false;
+}
+
+bool
+FileTransfer::procFileDirSizeDataMsg()
+{
+ return false;
+}
+
+bool
+FileTransfer::procFileLastRqstFailedMsg()
+{
+ return false;
+}
diff --git a/vncviewer/FileTransfer.h b/vncviewer/FileTransfer.h
index 9f05cb17..7df0c186 100644
--- a/vncviewer/FileTransfer.h
+++ b/vncviewer/FileTransfer.h
@@ -53,7 +53,14 @@ namespace rfb {
FTMsgReader *m_pReader;
FTMsgWriter *m_pWriter;
-
+
+ bool procFileListDataMsg();
+ bool procFileSpecDirDataMsg();
+ bool procFileDownloadDataMsg();
+ bool procFileUploadCancelMsg();
+ bool procFileDownloadFailedMsg();
+ bool procFileDirSizeDataMsg();
+ bool procFileLastRqstFailedMsg();
};
}
}