From e296b47da71d6ec67ddd042a2d103d72763e7f78 Mon Sep 17 00:00:00 2001 From: Dennis Syrovatsky Date: Thu, 17 Nov 2005 04:23:28 +0000 Subject: [PATCH] Added SFileTransfer, SFTMsgReader and SFTMsgWriter classes to winvnc project. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@403 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- winvnc/SFTMsgReader.cxx | 34 ++++++++++++++++++++++++++++++++++ winvnc/SFTMsgReader.h | 36 ++++++++++++++++++++++++++++++++++++ winvnc/SFTMsgWriter.cxx | 34 ++++++++++++++++++++++++++++++++++ winvnc/SFTMsgWriter.h | 36 ++++++++++++++++++++++++++++++++++++ winvnc/SFileTransfer.cxx | 34 ++++++++++++++++++++++++++++++++++ winvnc/SFileTransfer.h | 36 ++++++++++++++++++++++++++++++++++++ winvnc/winvnc.dsp | 24 ++++++++++++++++++++++++ 7 files changed, 234 insertions(+) create mode 100644 winvnc/SFTMsgReader.cxx create mode 100644 winvnc/SFTMsgReader.h create mode 100644 winvnc/SFTMsgWriter.cxx create mode 100644 winvnc/SFTMsgWriter.h create mode 100644 winvnc/SFileTransfer.cxx create mode 100644 winvnc/SFileTransfer.h diff --git a/winvnc/SFTMsgReader.cxx b/winvnc/SFTMsgReader.cxx new file mode 100644 index 00000000..23021773 --- /dev/null +++ b/winvnc/SFTMsgReader.cxx @@ -0,0 +1,34 @@ +/* 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/ + * + */ + +// -=- SFTMsgReader.cxx + +#include + +using namespace winvnc; + +SFTMsgReader::SFTMsgReader() +{ +} + +SFTMsgReader::~SFTMsgReader() +{ +} diff --git a/winvnc/SFTMsgReader.h b/winvnc/SFTMsgReader.h new file mode 100644 index 00000000..841d3a1a --- /dev/null +++ b/winvnc/SFTMsgReader.h @@ -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/ + * + */ + +// -=- SFTMsgReader.h + +#ifndef __RFB_WIN32_SFTMSGREADER_H__ +#define __RFB_WIN32_SFTMSGREADER_H__ + +namespace winvnc { + class SFTMsgReader + { + public: + SFTMsgReader(); + ~SFTMsgReader(); + }; +} + +#endif // __RFB_WIN32_SFTMSGREADER_H__ diff --git a/winvnc/SFTMsgWriter.cxx b/winvnc/SFTMsgWriter.cxx new file mode 100644 index 00000000..5a71aba8 --- /dev/null +++ b/winvnc/SFTMsgWriter.cxx @@ -0,0 +1,34 @@ +/* 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 + +using namespace winvnc; + +SFTMsgWriter::SFTMsgWriter() +{ +} + +SFTMsgWriter::~SFTMsgWriter() +{ +} diff --git a/winvnc/SFTMsgWriter.h b/winvnc/SFTMsgWriter.h new file mode 100644 index 00000000..fee79375 --- /dev/null +++ b/winvnc/SFTMsgWriter.h @@ -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/ + * + */ + +// -=- SFTMsgWriter.h + +#ifndef __RFB_WIN32_SFTMSGWRITER_H__ +#define __RFB_WIN32_SFTMSGWRITER_H__ + +namespace winvnc { + class SFTMsgWriter + { + public: + SFTMsgWriter(); + ~SFTMsgWriter(); + }; +} + +#endif // __RFB_WIN32_SFTMSGWRITER_H__ diff --git a/winvnc/SFileTransfer.cxx b/winvnc/SFileTransfer.cxx new file mode 100644 index 00000000..857c7683 --- /dev/null +++ b/winvnc/SFileTransfer.cxx @@ -0,0 +1,34 @@ +/* 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/ + * + */ + +// -=- SFileTransfer.cxx + +#include + +using namespace winvnc; + +SFileTransfer::SFileTransfer() +{ +} + +SFileTransfer::~SFileTransfer() +{ +} diff --git a/winvnc/SFileTransfer.h b/winvnc/SFileTransfer.h new file mode 100644 index 00000000..4641226e --- /dev/null +++ b/winvnc/SFileTransfer.h @@ -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/ + * + */ + +// -=- SFileTransfer.h + +#ifndef __RFB_WIN32_SFILETRANSFER_H__ +#define __RFB_WIN32_SFILETRANSFER_H__ + +namespace winvnc { + class SFileTransfer + { + public: + SFileTransfer(); + ~SFileTransfer(); + }; +} + +#endif // __RFB_WIN32_SFILETRANSFER_H__ diff --git a/winvnc/winvnc.dsp b/winvnc/winvnc.dsp index 91118514..c554a33e 100644 --- a/winvnc/winvnc.dsp +++ b/winvnc/winvnc.dsp @@ -149,6 +149,18 @@ SOURCE=.\QueryConnectDialog.cxx # End Source File # Begin Source File +SOURCE=.\SFileTransfer.cxx +# End Source File +# Begin Source File + +SOURCE=.\SFTMsgReader.cxx +# End Source File +# Begin Source File + +SOURCE=.\SFTMsgWriter.cxx +# End Source File +# Begin Source File + SOURCE=.\STrayIcon.cxx # End Source File # Begin Source File @@ -189,6 +201,18 @@ SOURCE=.\QueryConnectDialog.h # End Source File # Begin Source File +SOURCE=.\SFileTransfer.h +# End Source File +# Begin Source File + +SOURCE=.\SFTMsgReader.h +# End Source File +# Begin Source File + +SOURCE=.\SFTMsgWriter.h +# End Source File +# Begin Source File + SOURCE=.\STrayIcon.h # End Source File # Begin Source File -- 2.39.5