debugdlg.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# debugdlg.h

    00001
    00002
    00003 /*
    00004  * Definition of class for dialog to run/create a projectfile, in which commands can be executed seperately.
    00005 */
    00006 #ifndef DEBUGDLG_H
    00007 #define DEBUGDLG_H
    00008
    00009 #ifdef __GNUG__
    00010 #pragma interface
    00011 #endif
    00012
    00015
    00016 //: defenition
    00021 class Line_Parser;
    00022 class DebugDialog: public wxDialog
    00023 {
    00024         public:
    00025
    00026                 // Constructor.
    00027                 DebugDialog(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
    00028
    00029       // Destructor.
    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       // Pointer to mainwindow.
    00047                 GDSMainWindow*  m_parent;
    00048
    00049       // wxWindows class.
    00050                 wxPanel*                        m_panel;
    00051
    00052       // wxWindows class.
    00053       wxStaticText*  m_history;
    00054
    00055       // wxWindows class.
    00056       wxStaticText*  m_comline;
    00057
    00058
    00059       // wxWindows class.
    00060                 wxButton*               m_execButton;
    00061
    00062       // wxWindows class.
    00063       wxButton*         m_copyButton;
    00064
    00065       // wxWindows class.
    00066                 wxButton*               m_hideButton;
    00067
    00068       // wxWindows class.
    00069       wxTextCtrl*               m_editField;
    00070
    00071       // wxWindows class.
    00072                 wxListBox*              m_lb;
    00073
    00074       // wxWindows class.
    00075                 wxButton*               m_stopButton;
    00076
    00077       // wxWindows class.
    00078       wxButton*         m_continueButton;
    00079
    00080       // wxWindows class.
    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       //to read and parse lines from the process file
    00088                 Line_Parser*            m_lineparser;
    00089
    00090                 DL_List<void*>*   _process_file_stack;
    00091
    00092       // Declare used events.
    00093       DECLARE_EVENT_TABLE()
    00094
    00095 };
    00096
    00097 class StopDialog: public wxDialog
    00098 {
    00099         public:
    00100
    00101                 // Constructor.
    00102                 StopDialog(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
    00103
    00104       // Destructor.
    00105                 ~StopDialog();
    00106
    00107
    00108       void                              OnCloseWindow(wxCloseEvent& event);
    00109                 void                            Stop();
    00110
    00111         protected:
    00112
    00113       // Pointer to mainwindow.
    00114                 GDSMainWindow*  m_parent;
    00115
    00116       // wxWindows class.
    00117                 wxPanel*                        m_panel;
    00118
    00119       // wxWindows class.
    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 -- -- . -- Main Page