Mercurial > ecos
comparison host/tools/configtool/common/win32/BuildOptionsDialog.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children | 74dbf4c3f2e1 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 1 //####COPYRIGHTBEGIN#### | |
| 2 // | |
| 3 // ---------------------------------------------------------------------------- | |
| 4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 5 // | |
| 6 // This program is part of the eCos host tools. | |
| 7 // | |
| 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) | |
| 11 // any later version. | |
| 12 // | |
| 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 | |
| 16 // more details. | |
| 17 // | |
| 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. | |
| 21 // | |
| 22 // ---------------------------------------------------------------------------- | |
| 23 // | |
| 24 //####COPYRIGHTEND#### | |
| 25 #if !defined(AFX_BUILDOPTIONSDIALOG_H__92CF151B_8318_11D3_A534_00A0C949ADAC__INCLUDED_) | |
| 26 #define AFX_BUILDOPTIONSDIALOG_H__92CF151B_8318_11D3_A534_00A0C949ADAC__INCLUDED_ | |
| 27 | |
| 28 #if _MSC_VER > 1000 | |
| 29 #pragma once | |
| 30 #endif // _MSC_VER > 1000 | |
| 31 // BuildOptionsDialog.h : header file | |
| 32 // | |
| 33 class CConfigItem; | |
| 34 ///////////////////////////////////////////////////////////////////////////// | |
| 35 // CBuildOptionsDialog dialog | |
| 36 | |
| 37 #include "eCosDialog.h" | |
| 38 #define INCLUDEFILE "cdl.hxx" | |
| 39 #include "IncludeSTL.h" | |
| 40 #include "resource.h" | |
| 41 | |
| 42 class CBuildOptionsDialog : public CeCosDialog | |
| 43 { | |
| 44 // Construction | |
| 45 public: | |
| 46 CBuildOptionsDialog(CWnd* pParent = NULL); // standard constructor | |
| 47 | |
| 48 // Dialog Data | |
| 49 //{{AFX_DATA(CBuildOptionsDialog) | |
| 50 enum { IDD = IDD_BUILD_OPTIONS_DIALOG }; | |
| 51 CListBox m_List; | |
| 52 CTreeCtrl m_Tree; | |
| 53 //}}AFX_DATA | |
| 54 | |
| 55 | |
| 56 // Overrides | |
| 57 // ClassWizard generated virtual function overrides | |
| 58 //{{AFX_VIRTUAL(CBuildOptionsDialog) | |
| 59 protected: | |
| 60 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | |
| 61 //}}AFX_VIRTUAL | |
| 62 | |
| 63 // Implementation | |
| 64 protected: | |
| 65 HTREEITEM m_hCurrent; | |
| 66 void Redisplay (HTREEITEM h); | |
| 67 CImageList m_il; | |
| 68 void Create(CConfigItem *pti,HTREEITEM hParent); | |
| 69 typedef std::vector<CdlBuildInfo_Loadable> EntriesArray; | |
| 70 const EntriesArray &arEntries; | |
| 71 | |
| 72 // Generated message map functions | |
| 73 //{{AFX_MSG(CBuildOptionsDialog) | |
| 74 virtual BOOL OnInitDialog(); | |
| 75 afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult); | |
| 76 afx_msg void OnSelchangeCombo(); | |
| 77 //}}AFX_MSG | |
| 78 DECLARE_MESSAGE_MAP() | |
| 79 }; | |
| 80 | |
| 81 //{{AFX_INSERT_LOCATION}} | |
| 82 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. | |
| 83 | |
| 84 #endif // !defined(AFX_BUILDOPTIONSDIALOG_H__92CF151B_8318_11D3_A534_00A0C949ADAC__INCLUDED_) |
