aboutsummaryrefslogtreecommitdiffstats
path: root/rfb/SFTMsgWriter.cxx
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-12-18 14:24:06 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-12-18 14:24:06 +0000
commit613f7c83ae42015ba3874cc8fdfcdbb74d74fd2f (patch)
treee2467fe70763ac927e4f06cb35f39c90bc72c6d4 /rfb/SFTMsgWriter.cxx
parent0a5def782ea5bcde5e73280091d9cf2effafabbe (diff)
downloadtigervnc-613f7c83ae42015ba3874cc8fdfcdbb74d74fd2f.tar.gz
tigervnc-613f7c83ae42015ba3874cc8fdfcdbb74d74fd2f.zip
Added SFTMsgReader and SFTMsgWriter classes to the rfb project.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@462 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfb/SFTMsgWriter.cxx')
-rw-r--r--rfb/SFTMsgWriter.cxx86
1 files changed, 86 insertions, 0 deletions
diff --git a/rfb/SFTMsgWriter.cxx b/rfb/SFTMsgWriter.cxx
new file mode 100644
index 00000000..e74775e1
--- /dev/null
+++ b/rfb/SFTMsgWriter.cxx
@@ -0,0 +1,86 @@
+/* Copyright (C) 2005 TightVNC Team. All Rights Reserved.
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ *
+ * TightVNC distribution homepage on the Web: http://www.tightvnc.com/
+ *
+ */
+
+// -=- SFTMsgWriter.cxx
+
+#include <rfb/SFTMsgWriter.h>
+
+using namespace rfb;
+
+SFTMsgWriter::SFTMsgWriter(rdr::OutStream *pOS)
+{
+ m_pOS = pOS;
+}
+
+SFTMsgWriter::~SFTMsgWriter()
+{
+}
+
+bool
+SFTMsgWriter::writeFileListData(unsigned char flags, rfb::FileInfo *pFileInfo)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileDownloadData(unsigned int dataSize, void *pData)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileDownloadData(unsigned int modTime)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileUploadCancel(unsigned int reasonLen, char *pReason)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileDownloadFailed(unsigned int reasonLen, char *pReason)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileDirSizeData(unsigned int dirSizeLow,
+ unsigned short dirSizeHigh)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeFileLastRqstFailed(unsigned char lastRequest,
+ unsigned short reasonLen,
+ char *pReason)
+{
+ return false;
+}
+
+bool
+SFTMsgWriter::writeU8U16StringMsg(unsigned char p1, unsigned short p2, char *pP3)
+{
+ return false;
+}