From 0a5def782ea5bcde5e73280091d9cf2effafabbe Mon Sep 17 00:00:00 2001 From: Dennis Syrovatsky Date: Sun, 18 Dec 2005 13:14:50 +0000 Subject: [PATCH] The SFileTransfer, SFTMsgReader, SFTMsgWriter classes was removed from winvnc project. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@461 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- winvnc/SFTMsgReader.cxx | 108 --------------------------------------- winvnc/SFTMsgReader.h | 58 --------------------- winvnc/SFTMsgWriter.cxx | 84 ------------------------------ winvnc/SFTMsgWriter.h | 51 ------------------ winvnc/SFileTransfer.cxx | 34 ------------ winvnc/SFileTransfer.h | 36 ------------- winvnc/winvnc.dsp | 24 --------- 7 files changed, 395 deletions(-) delete mode 100644 winvnc/SFTMsgReader.cxx delete mode 100644 winvnc/SFTMsgReader.h delete mode 100644 winvnc/SFTMsgWriter.cxx delete mode 100644 winvnc/SFTMsgWriter.h delete mode 100644 winvnc/SFileTransfer.cxx delete mode 100644 winvnc/SFileTransfer.h diff --git a/winvnc/SFTMsgReader.cxx b/winvnc/SFTMsgReader.cxx deleted file mode 100644 index 95aca3dc..00000000 --- a/winvnc/SFTMsgReader.cxx +++ /dev/null @@ -1,108 +0,0 @@ -/* 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() -{ -} - -bool -SFTMsgReader::readBytes(unsigned int dataSize, void *pData) -{ - return false; -} - -int -SFTMsgReader::readFileListRqst(unsigned char *pFlags, char *pDirName, bool bDirOnly) -{ - return 0; -} - -int -SFTMsgReader::readFileDownloadCancel(char *pReason) -{ - return 0; -} - -int -SFTMsgReader::readFileDownloadRqst(char *pFilename, unsigned int *pPosition) -{ - return 0; -} - -int -SFTMsgReader::readFileUploadData(char *pData) -{ - return 0; -} - -int -SFTMsgReader::readFileUploadData(unsigned int *pModTime) -{ - return 0; -} - -int -SFTMsgReader::readFileUploadFailed(char *pReason) -{ - return 0; -} - -int -SFTMsgReader::readFileUploadRqst(char *pFilename, unsigned int *pPosition) -{ - return 0; -} - -int -SFTMsgReader::readFileCreateDirRqst(char *pDirName) -{ - return 0; -} - -int -SFTMsgReader::readFileDirSizeRqst(char *pDirName) -{ - return 0; -} - -int -SFTMsgReader::readFileRenameRqst(unsigned short *pOldNameLen, - unsigned short *pNewNameLen, - char *pOldName, char *pNewName) -{ - return 0; -} - -int -SFTMsgReader::readFileDeleteRqst(char *pName) -{ - return 0; -} diff --git a/winvnc/SFTMsgReader.h b/winvnc/SFTMsgReader.h deleted file mode 100644 index 07fb49f2..00000000 --- a/winvnc/SFTMsgReader.h +++ /dev/null @@ -1,58 +0,0 @@ -/* 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(); - - int readFileListRqst(unsigned char *pFlags, char *pDirName, bool bDirOnly); - - int readFileDownloadCancel(char *pReason); - int readFileDownloadRqst(char *pFilename, unsigned int *pPosition); - - int readFileUploadData(char *pData); - int readFileUploadData(unsigned int *pModTime); - - int readFileUploadFailed(char *pReason); - int readFileUploadRqst(char *pFilename, unsigned int *pPosition); - - int readFileCreateDirRqst(char *pDirName); - int readFileDirSizeRqst(char *pDirName); - - int readFileRenameRqst(unsigned short *pOldNameLen, unsigned short *pNewNameLen, - char *pOldName, char *pNewName); - - int readFileDeleteRqst(char *pName); - - private: - bool readBytes(unsigned int dataSize, void *pData); - }; -} - -#endif // __RFB_WIN32_SFTMSGREADER_H__ diff --git a/winvnc/SFTMsgWriter.cxx b/winvnc/SFTMsgWriter.cxx deleted file mode 100644 index 0ade9ea3..00000000 --- a/winvnc/SFTMsgWriter.cxx +++ /dev/null @@ -1,84 +0,0 @@ -/* 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() -{ -} - -bool -SFTMsgWriter::writeBytes(unsigned int dataSize, void *pData) -{ - return false; -} - -bool -SFTMsgWriter::writeFileListData(unsigned char flags, rfb::FileInfo *pFileInfo) -{ - return false; -} - -bool -SFTMsgWriter::writeFileDownloadData(unsigned short dataSize, void *pData) -{ - return false; -} - -bool -SFTMsgWriter::writeFileDownloadData(unsigned int modTime) -{ - return false; -} - -bool -SFTMsgWriter::writeFileUploadCancel(unsigned short reasonLen, char *pReason) -{ - return false; -} - -bool -SFTMsgWriter::writeFileDownloadFailed(unsigned short reasonLen, char *pReason) -{ - return false; -} - -bool -SFTMsgWriter::writeFileDirSizeData(DWORD64 dw64DirSize) -{ - return false; -} - -bool -SFTMsgWriter::writeFileLastRqstFailed(unsigned char lastRequest, - unsigned short reasonLen, - char *pReason) -{ - return false; -} diff --git a/winvnc/SFTMsgWriter.h b/winvnc/SFTMsgWriter.h deleted file mode 100644 index c19a8678..00000000 --- a/winvnc/SFTMsgWriter.h +++ /dev/null @@ -1,51 +0,0 @@ -/* 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__ - -#include -#include - -namespace winvnc { - class SFTMsgWriter - { - public: - SFTMsgWriter(); - ~SFTMsgWriter(); - - bool writeFileListData(unsigned char flags, rfb::FileInfo *pFileInfo); - bool writeFileDownloadData(unsigned short dataSize, void *pData); - bool writeFileDownloadData(unsigned int modTime); - bool writeFileUploadCancel(unsigned short reasonLen, char *pReason); - bool writeFileDownloadFailed(unsigned short reasonLen, char *pReason); - bool writeFileDirSizeData(DWORD64 dw64DirSize); - bool writeFileLastRqstFailed(unsigned char lastRequest, unsigned short reasonLen, - char *pReason); - - private: - bool writeBytes(unsigned int dataSize, void *pData); - }; -} - -#endif // __RFB_WIN32_SFTMSGWRITER_H__ diff --git a/winvnc/SFileTransfer.cxx b/winvnc/SFileTransfer.cxx deleted file mode 100644 index 857c7683..00000000 --- a/winvnc/SFileTransfer.cxx +++ /dev/null @@ -1,34 +0,0 @@ -/* 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 deleted file mode 100644 index 4641226e..00000000 --- a/winvnc/SFileTransfer.h +++ /dev/null @@ -1,36 +0,0 @@ -/* 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 c554a33e..91118514 100644 --- a/winvnc/winvnc.dsp +++ b/winvnc/winvnc.dsp @@ -149,18 +149,6 @@ 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 @@ -201,18 +189,6 @@ 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