]> source.dussan.org Git - tigervnc.git/commitdiff
Code evolution.
authorDennis Syrovatsky <dennis@tightvnc.com>
Thu, 10 Nov 2005 06:36:46 +0000 (06:36 +0000)
committerDennis Syrovatsky <dennis@tightvnc.com>
Thu, 10 Nov 2005 06:36:46 +0000 (06:36 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@395 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/FileTransfer.cxx
vncviewer/FileTransfer.h

index 5da3c9fb93fe7eadf323f51930ffe1000bc7fb77..44cfb13b503d070103fd7ed4dd1a75f6c89b87db 100644 (file)
@@ -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;
+}
index 9f05cb17a54ace4372eaec9ecf76837f9b16064d..7df0c1861c89ce2b0715cc8a9b5a54706284e73f 100644 (file)
@@ -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();
     };
   }
 }