summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/FTMsgReader.cxx36
-rw-r--r--vncviewer/FTMsgReader.h44
-rw-r--r--vncviewer/FTMsgWriter.cxx36
-rw-r--r--vncviewer/FTMsgWriter.h44
-rw-r--r--vncviewer/vncviewer.dsp16
5 files changed, 176 insertions, 0 deletions
diff --git a/vncviewer/FTMsgReader.cxx b/vncviewer/FTMsgReader.cxx
new file mode 100644
index 00000000..31ce4704
--- /dev/null
+++ b/vncviewer/FTMsgReader.cxx
@@ -0,0 +1,36 @@
+/* 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/
+ *
+ */
+
+// -=- FTMsgReader.cxx
+
+#include <vncviewer/FTMsgReader.h>
+
+using namespace rfb;
+using namespace rfb::win32;
+
+FTMsgReader::FTMsgReader(rdr::InStream *pIS)
+{
+ m_pInStream = pIS;
+}
+
+FTMsgReader::~FTMsgReader()
+{
+}
diff --git a/vncviewer/FTMsgReader.h b/vncviewer/FTMsgReader.h
new file mode 100644
index 00000000..b5401c27
--- /dev/null
+++ b/vncviewer/FTMsgReader.h
@@ -0,0 +1,44 @@
+/* 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/
+ *
+ */
+
+// -=- FTMsgReader.h
+
+#ifndef __RFB_WIN32_FTMSGREADER_H__
+#define __RFB_WIN32_FTMSGREADER_H__
+
+#include <rdr/InStream.h>
+#include <vncviewer/FileTransfer.h>
+
+namespace rfb {
+ namespace win32 {
+ class FTMsgReader
+ {
+ public:
+ FTMsgReader(rdr::InStream *pIS);
+ ~FTMsgReader();
+
+ private:
+ rdr::InStream *m_pInStream;
+ };
+ }
+}
+
+#endif // __RFB_WIN32_FTMSGREADER_H__
diff --git a/vncviewer/FTMsgWriter.cxx b/vncviewer/FTMsgWriter.cxx
new file mode 100644
index 00000000..1b376cef
--- /dev/null
+++ b/vncviewer/FTMsgWriter.cxx
@@ -0,0 +1,36 @@
+/* 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/
+ *
+ */
+
+// -=- FTMsgWriter.cxx
+
+#include <vncviewer/FTMsgWriter.h>
+
+using namespace rfb;
+using namespace rfb::win32;
+
+FTMsgWriter::FTMsgWriter(rdr::OutStream *pOS)
+{
+ m_pOutStream = pOS;
+}
+
+FTMsgWriter::~FTMsgWriter()
+{
+}
diff --git a/vncviewer/FTMsgWriter.h b/vncviewer/FTMsgWriter.h
new file mode 100644
index 00000000..17378309
--- /dev/null
+++ b/vncviewer/FTMsgWriter.h
@@ -0,0 +1,44 @@
+/* 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/
+ *
+ */
+
+// -=- FTMsgWriter.h
+
+#ifndef __RFB_WIN32_FTMSGWRITER_H__
+#define __RFB_WIN32_FTMSGWRITER_H__
+
+#include <rdr/OutStream.h>
+#include <vncviewer/FileTransfer.h>
+
+namespace rfb {
+ namespace win32 {
+ class FTMsgWriter
+ {
+ public:
+ FTMsgWriter(rdr::OutStream *pOS);
+ ~FTMsgWriter();
+
+ private:
+ rdr::OutStream *m_pOutStream;
+ };
+ }
+}
+
+#endif // __RFB_WIN32_FTMSGWRITER_H__
diff --git a/vncviewer/vncviewer.dsp b/vncviewer/vncviewer.dsp
index 191357c3..aa2322b9 100644
--- a/vncviewer/vncviewer.dsp
+++ b/vncviewer/vncviewer.dsp
@@ -162,6 +162,14 @@ SOURCE=.\FTListView.cxx
# End Source File
# Begin Source File
+SOURCE=.\FTMsgReader.cxx
+# End Source File
+# Begin Source File
+
+SOURCE=.\FTMsgWriter.cxx
+# End Source File
+# Begin Source File
+
SOURCE=.\FTProgress.cxx
# End Source File
# Begin Source File
@@ -226,6 +234,14 @@ SOURCE=.\FTListView.h
# End Source File
# Begin Source File
+SOURCE=.\FTMsgReader.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\FTMsgWriter.h
+# End Source File
+# Begin Source File
+
SOURCE=.\FTProgress.h
# End Source File
# Begin Source File