00001
00002
00003
00004
00005
00006
00007
00008 #ifndef EVDB_JOBMENU_H
00009 #define EVDB_JOBMENU_H
00010 #include "TObject.h"
00011 #include "TQObject.h"
00012 #include "RQ_OBJECT.h"
00013
00014 class TGMainFrame;
00015 class TGMenuBar;
00016 class TGPopupMenu;
00017 class TGLayoutHints;
00018
00019 namespace evdb {
00021 class JobMenu {
00022 RQ_OBJECT("evdb::JobMenu");
00023
00024 public:
00025 JobMenu(TGMenuBar* menubar, TGMainFrame* mf);
00026 virtual ~JobMenu();
00027
00028
00029 void HandleMenu(int menu);
00030 void EditConfig(int cfg);
00031
00032 private:
00033 int OpenJobXML();
00034 void BuildConfigMenu();
00035
00036 private:
00037 TGMainFrame* fMainFrame;
00038 TGPopupMenu* fJobMenu;
00039 TGPopupMenu* fConfigMenu;
00040 TGLayoutHints* fLayout;
00041 };
00042 }
00043 #endif // EVDB_FILEMENU_H
00044