blob: 0ebf569317a8836c2458d4da3d526bd039e0a706 [file] [log] [blame]
Dennis Syrovatsky32ed3322005-12-15 09:37:38 +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// -=- FTBrowseDlg.h
23
24#ifndef __RFB_WIN32_FTBROWSEDLG_H__
25#define __RFB_WIN32_FTBROWSEDLG_H__
26
27#include <windows.h>
28#include <commctrl.h>
29
30#include <rfb/FileInfo.h>
31#include <vncviewer/FTDialog.h>
32#include <vncviewer/resource.h>
33
34namespace rfb {
35 namespace win32 {
Dennis Syrovatskyb0b72472005-12-15 10:02:16 +000036 class FTDialog;
37
Dennis Syrovatsky32ed3322005-12-15 09:37:38 +000038 class FTBrowseDlg
39 {
40 public:
41 FTBrowseDlg(FTDialog *pFTDlg);
42 ~FTBrowseDlg();
Dennis Syrovatsky2eee1c72005-12-15 09:43:34 +000043
44 static BOOL CALLBACK FTBrowseDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
45
Dennis Syrovatsky04e05c32005-12-15 09:51:03 +000046 bool create();
47 void destroy();
48
Dennis Syrovatskyb0b72472005-12-15 10:02:16 +000049 void addItems(FileInfo *pFI);
50
Dennis Syrovatsky04e05c32005-12-15 09:51:03 +000051 private:
52 HWND m_hwndDlg;
53 FTDialog *m_pFTDlg;
Dennis Syrovatsky32ed3322005-12-15 09:37:38 +000054 };
55 }
56}
57
58#endif // __RFB_WIN32_FTBROWSEDLG_H__