/* * A class for the scan mainframe. Will contain only the menu bar. * ScanMainFrame.hh * * Created on: Feb 8, 2016 * Author: Hovanes Egiyan */ #ifndef SCANMAINFRAME_HH_ #define SCANMAINFRAME_HH_ #include "string.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "LogableMainFrame.hh" #include "ScanCombo.hh" class FileNameFinder; class ScanMainFrame: public LogableMainFrame { protected: // Pointer to the object used to find file to open. // This class neither creates nor destroys this object. FileNameFinder* smfFileFinder; // Point to scan object. This class will create // this object and destroy it as well. ScanCombo* smfScan; // Create menu bar. Overrides the method from LogableMainFrame virtual void MakeMenuBar(); public: ScanMainFrame( FileNameFinder* fileFinder ); virtual ~ScanMainFrame(); // virtual std::string GetScanFileName(); // Overwrite default inherited CloseWindow virtual void CloseWindow(); virtual void HandleMenu( Int_t choice ) ; virtual void HandlePopup( ); virtual void HandleHighlight( Int_t choice ); ClassDef(ScanMainFrame, 0) }; #endif /* SCANMAINFRAME_HH_ */