Dennis Syrovatsky | 32ed332 | 2005-12-15 09:37:38 +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 | // -=- 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 | |
| 34 | namespace rfb { |
| 35 | namespace win32 { |
Dennis Syrovatsky | b0b7247 | 2005-12-15 10:02:16 +0000 | [diff] [blame^] | 36 | class FTDialog; |
| 37 | |
Dennis Syrovatsky | 32ed332 | 2005-12-15 09:37:38 +0000 | [diff] [blame] | 38 | class FTBrowseDlg |
| 39 | { |
| 40 | public: |
| 41 | FTBrowseDlg(FTDialog *pFTDlg); |
| 42 | ~FTBrowseDlg(); |
Dennis Syrovatsky | 2eee1c7 | 2005-12-15 09:43:34 +0000 | [diff] [blame] | 43 | |
| 44 | static BOOL CALLBACK FTBrowseDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
| 45 | |
Dennis Syrovatsky | 04e05c3 | 2005-12-15 09:51:03 +0000 | [diff] [blame] | 46 | bool create(); |
| 47 | void destroy(); |
| 48 | |
Dennis Syrovatsky | b0b7247 | 2005-12-15 10:02:16 +0000 | [diff] [blame^] | 49 | void addItems(FileInfo *pFI); |
| 50 | |
Dennis Syrovatsky | 04e05c3 | 2005-12-15 09:51:03 +0000 | [diff] [blame] | 51 | private: |
| 52 | HWND m_hwndDlg; |
| 53 | FTDialog *m_pFTDlg; |
Dennis Syrovatsky | 32ed332 | 2005-12-15 09:37:38 +0000 | [diff] [blame] | 54 | }; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | #endif // __RFB_WIN32_FTBROWSEDLG_H__ |