Dennis Syrovatsky | 139d783 | 2005-11-02 05:36:05 +0000 | [diff] [blame] | 1 | /* Copyright (C) 2005 TightVNC Team. All Rights Reserved. |
| 2 | * |
| 3 | * This is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation; either version 2 of the License, or |
| 6 | * (at your option) any later version. |
| 7 | * |
| 8 | * This software is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this software; if not, write to the Free Software |
| 15 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
| 16 | * USA. |
| 17 | * |
| 18 | * TightVNC distribution homepage on the Web: http://www.tightvnc.com/ |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | // -=- FileTransfer.h |
| 23 | |
| 24 | #ifndef __RFB_WIN32_FILETRANSFER_H__ |
| 25 | #define __RFB_WIN32_FILETRANSFER_H__ |
| 26 | |
Dennis Syrovatsky | 5c76117 | 2005-11-09 04:19:05 +0000 | [diff] [blame^] | 27 | #include <rdr/InStream.h> |
| 28 | #include <rdr/OutStream.h> |
Dennis Syrovatsky | 4ab4185 | 2005-11-07 09:52:36 +0000 | [diff] [blame] | 29 | #include <vncviewer/FTDialog.h> |
| 30 | |
Dennis Syrovatsky | 139d783 | 2005-11-02 05:36:05 +0000 | [diff] [blame] | 31 | namespace rfb { |
| 32 | namespace win32 { |
Dennis Syrovatsky | 4ab4185 | 2005-11-07 09:52:36 +0000 | [diff] [blame] | 33 | class FTDialog; |
| 34 | |
Dennis Syrovatsky | 139d783 | 2005-11-02 05:36:05 +0000 | [diff] [blame] | 35 | class FileTransfer |
| 36 | { |
| 37 | public: |
| 38 | FileTransfer(); |
| 39 | ~FileTransfer(); |
Dennis Syrovatsky | 4ab4185 | 2005-11-07 09:52:36 +0000 | [diff] [blame] | 40 | |
Dennis Syrovatsky | 5c76117 | 2005-11-09 04:19:05 +0000 | [diff] [blame^] | 41 | bool initialize(rdr::InStream *pIS, rdr::OutStream *pOS); |
| 42 | bool create(); |
Dennis Syrovatsky | 4ab4185 | 2005-11-07 09:52:36 +0000 | [diff] [blame] | 43 | |
| 44 | private: |
| 45 | bool m_bFTDlgShown; |
Dennis Syrovatsky | 5c76117 | 2005-11-09 04:19:05 +0000 | [diff] [blame^] | 46 | bool m_bInitialized; |
Dennis Syrovatsky | 4ab4185 | 2005-11-07 09:52:36 +0000 | [diff] [blame] | 47 | |
| 48 | FTDialog *m_pFTDialog; |
Dennis Syrovatsky | 5c76117 | 2005-11-09 04:19:05 +0000 | [diff] [blame^] | 49 | |
| 50 | rdr::InStream *m_pInStream; |
| 51 | rdr::OutStream *m_pOutStream; |
Dennis Syrovatsky | 139d783 | 2005-11-02 05:36:05 +0000 | [diff] [blame] | 52 | }; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | #endif // __RFB_WIN32_FILETRANSFER_H__ |