00001
00002
00003
00004
00005
00006 #ifndef EXECDLG_H
00007 #define EXECDLG_H
00008
00009 #ifdef __GNUG__
00010 #pragma interface
00011 #endif
00012
00015
00016
00020
00021 class ExecDlg: public wxDialog
00022 {
00023 public:
00024
00025
00026 ExecDlg(GDSMainWindow*,char*,long style = (wxTHICK_FRAME | wxCAPTION),char *name="frame");
00027
00028
00029 ~ExecDlg();
00030
00031
00032 void hide();
00033
00034
00035 void OnCloseWindow(wxCloseEvent& event);
00036
00037 void SetCommand(char* BaseCommand);
00038
00039
00040 void addCommand(const wxString& command);
00041
00042
00043 void Copy();
00044
00045
00046 void Execute();
00047
00048 protected:
00049 void OnChar(wxKeyEvent& event);
00050
00051 void OnCharHook(wxKeyEvent& event);
00052
00053
00054
00055 GDSMainWindow* _parent;
00056
00057
00058 wxStaticText* _m_history;
00059
00060
00061 wxStaticText* _m_comline;
00062
00063
00064 wxPanel* _panel;
00065
00066
00067 wxButton* _execButton;
00068
00069
00070 wxButton* _copyButton;
00071
00072
00073 wxButton* _hideButton;
00074
00075
00076 wxTextCtrl* _editField;
00077
00078
00079 wxListBox* _lb;
00080
00081
00082 DECLARE_EVENT_TABLE()
00083
00084 };
00085
00086 #endif
execdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --