00001
00002
00003
00004
00005
00006 #ifndef DEBUGDLG_H
00007 #define DEBUGDLG_H
00008
00009 #ifdef __GNUG__
00010 #pragma interface
00011 #endif
00012
00015
00016
00021
00022 class DebugDialog: public wxDialog
00023 {
00024 public:
00025
00026
00027 DebugDialog(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
00028
00029
00030 ~DebugDialog();
00031
00032
00033 void OnCloseWindow(wxCloseEvent& event);
00034 void SetCommand(char* BaseCommand);
00035 void Hide();
00036 void Stop();
00037 void Execute();
00038 void Continue();
00039 void NextProc();
00040 void Copy();
00041 void Init(char* processfile);
00042 void OnIdle(wxIdleEvent& event);
00043
00044 protected:
00045
00046
00047 GDSMainWindow* m_parent;
00048
00049
00050 wxPanel* m_panel;
00051
00052
00053 wxStaticText* m_history;
00054
00055
00056 wxStaticText* m_comline;
00057
00058
00059
00060 wxButton* m_execButton;
00061
00062
00063 wxButton* m_copyButton;
00064
00065
00066 wxButton* m_hideButton;
00067
00068
00069 wxTextCtrl* m_editField;
00070
00071
00072 wxListBox* m_lb;
00073
00074
00075 wxButton* m_stopButton;
00076
00077
00078 wxButton* m_continueButton;
00079
00080
00081 wxButton* m_nextprocButton;
00082
00083 char m_commandstring[1000];
00084 bool m_is_executed;
00085 bool m_endoffile;
00086 bool m_stop_at_next_file;
00087
00088 Line_Parser* m_lineparser;
00089
00090 DL_List<void*>* _process_file_stack;
00091
00092
00093 DECLARE_EVENT_TABLE()
00094
00095 };
00096
00097 class StopDialog: public wxDialog
00098 {
00099 public:
00100
00101
00102 StopDialog(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
00103
00104
00105 ~StopDialog();
00106
00107
00108 void OnCloseWindow(wxCloseEvent& event);
00109 void Stop();
00110
00111 protected:
00112
00113
00114 GDSMainWindow* m_parent;
00115
00116
00117 wxPanel* m_panel;
00118
00119
00120 wxButton* m_stopButton;
00121
00122 DECLARE_EVENT_TABLE()
00123
00124 };
00125
00126 #endif
debugdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --