blob: 64d951a0c3d43d86f2b53a7d7424328003873d42 [file] [log] [blame]
Dennis Syrovatsky139d7832005-11-02 05:36:05 +00001/* 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 Syrovatsky5c761172005-11-09 04:19:05 +000027#include <rdr/InStream.h>
28#include <rdr/OutStream.h>
Dennis Syrovatsky4ab41852005-11-07 09:52:36 +000029#include <vncviewer/FTDialog.h>
30
Dennis Syrovatsky139d7832005-11-02 05:36:05 +000031namespace rfb {
32 namespace win32 {
Dennis Syrovatsky4ab41852005-11-07 09:52:36 +000033 class FTDialog;
34
Dennis Syrovatsky139d7832005-11-02 05:36:05 +000035 class FileTransfer
36 {
37 public:
38 FileTransfer();
39 ~FileTransfer();
Dennis Syrovatsky4ab41852005-11-07 09:52:36 +000040
Dennis Syrovatsky5c761172005-11-09 04:19:05 +000041 bool initialize(rdr::InStream *pIS, rdr::OutStream *pOS);
42 bool create();
Dennis Syrovatsky4ab41852005-11-07 09:52:36 +000043
44 private:
45 bool m_bFTDlgShown;
Dennis Syrovatsky5c761172005-11-09 04:19:05 +000046 bool m_bInitialized;
Dennis Syrovatsky4ab41852005-11-07 09:52:36 +000047
48 FTDialog *m_pFTDialog;
Dennis Syrovatsky5c761172005-11-09 04:19:05 +000049
50 rdr::InStream *m_pInStream;
51 rdr::OutStream *m_pOutStream;
Dennis Syrovatsky139d7832005-11-02 05:36:05 +000052 };
53 }
54}
55
56#endif // __RFB_WIN32_FILETRANSFER_H__