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 // platformeditordlg.h :
27 //===========================================================================
28 //#####DESCRIPTIONBEGIN####
31 // Contact(s): julians
33 // Version: $Id: platformeditordlg.h,v 1.2 2001/03/23 13:38:04 julians Exp $
35 // Description: Header file for ecPlatformEditorDialog
42 //####DESCRIPTIONEND####
44 //===========================================================================
46 #ifndef _ECOS_PLATFORMEDITORDLG_H_
47 #define _ECOS_PLATFORMEDITORDLG_H_
50 #pragma interface "platformeditordlg.cpp"
55 class ecPlatformEditorDialog : public ecDialog
59 ecPlatformEditorDialog(wxWindow* parent);
63 void OnOK(wxCommandEvent& event);
64 void OnCancel(wxCommandEvent& event);
65 void OnChangeNewPlatformPrefix(wxCommandEvent& event);
66 void OnChangeNewPlatform(wxCommandEvent& event);
67 void OnInitDialog(wxInitDialogEvent& event);
70 void CreateControls(wxWindow* parent);
72 wxString m_strCaption;
73 wxString m_strPlatform;
76 wxString m_strInferior;
78 bool m_bServerSideGdb;
85 #define ecID_MODIFY_PLATFORM_NAME 10031
86 #define ecID_MODIFY_PLATFORM_PREFIX 10032
87 #define ecID_MODIFY_PLATFORM_ARGS 10033
88 #define ecID_MODIFY_PLATFORM_INFERIOR 10034
89 #define ecID_MODIFY_PLATFORM_PROMPT 10035
90 #define ecID_MODIFY_PLATFORM_SS_GDB 10036
93 // _ECOS_PLATFORMEDITORDLG_H_