1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
8 // This program is free software; you can redistribute it and/or modify it
9 // under the terms of the GNU General Public License as published by the Free
10 // Software Foundation; either version 2 of the License, or (at your option)
13 // This program is distributed in the hope that it will be useful, but WITHOUT
14 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
18 // You should have received a copy of the GNU General Public License along with
19 // this program; if not, write to the Free Software Foundation, Inc.,
20 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 #if !defined(AFX_BINDIRDIALOG_H__EDC0D540_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)
26 #define AFX_BINDIRDIALOG_H__EDC0D540_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_
30 #endif // _MSC_VER >= 1000
31 // BinDirDialog.h : header file
34 /////////////////////////////////////////////////////////////////////////////
35 // CBinDirDialog dialog
36 #include "FolderDialog.h"
39 class CBinDirDialog : public CFolderDialog
43 CBinDirDialog(const CStringArray &arstrPaths, const CString &strDefault);
46 //{{AFX_DATA(CBinDirDialog)
47 enum { IDD = IDD_TOOLCHAINFOLDER_DIALOG };
48 // NOTE: the ClassWizard will add data members here
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CBinDirDialog)
56 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
61 const CString & m_strDefault;
62 const CStringArray &m_arstrPaths;
63 // Generated message map functions
64 //{{AFX_MSG(CBinDirDialog)
65 virtual BOOL OnInitDialog();
66 afx_msg void OnEditchangeFolder();
67 afx_msg void OnSelchangeFolder();
68 afx_msg void OnBrowse();
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
76 #endif // !defined(AFX_BINDIRDIALOG_H__EDC0D540_56E7_11D2_80CF_00A0C949ADAC__INCLUDED_)