#ifndef _HDV_MAINFRAME_H_ #define _HDV_MAINFRAME_H_ // This class is made into a ROOT dictionary ala rootcint. // Therefore, do NOT include anything Hall-D specific here. // It is OK to do that in the .cc file, just not here in the // header. #include #include #include #include #include #include #include class hdv_mainframe:public TGMainFrame { public: hdv_mainframe(const TGWindow *p, UInt_t w, UInt_t h); ~hdv_mainframe(){}; // Slots for ROOT GUI void DoQuit(void); void DoNext(void); void DoPrev(void); void DoStop(void); void DoCont(void); void DoTimer(void); // Other (non-slot) methods void SetEvent(int id); private: TRootEmbeddedCanvas *emcanvas; TText *event_text; int current_eventnumber; ClassDef(hdv_mainframe,1) }; #endif //_HDV_MAINFRAME_H_