00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TBROWSERUSERINTERFACE_HH 00030 #define CLDAQ__TBROWSERUSERINTERFACE_HH 00031 00032 #include "Tglobals.h" 00033 #include "TUserInterface.hh" 00034 00035 00055 class TBrowserUserInterface 00056 : public TUserInterface 00057 { 00058 00059 private: 00060 Tstring theAcceptString; 00061 00062 public: 00063 TBrowserUserInterface( const Tstring& history ); 00064 ~TBrowserUserInterface(); 00065 00066 public: 00067 Tbool AcceptCommand(); 00068 const Tstring& GetInputCommand(); 00069 00070 public: 00071 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00072 00073 #ifdef __CLDAQ_ROOT_DLL 00074 ClassDef(TBrowserUserInterface,0) 00075 #endif 00076 00077 }; 00078 00079 #endif