00001 // ===================================================================== 00024 // ===================================================================== 00025 #ifndef CLDAQ__TBROWSERUSERINTERFACE_HH 00026 #define CLDAQ__TBROWSERUSERINTERFACE_HH 00027 00028 #include "Tglobals.h" 00029 #include "TUserInterface.hh" 00030 00031 00051 class TBrowserUserInterface 00052 : public TUserInterface 00053 { 00054 00055 private: 00056 Tstring theAcceptString; 00057 00058 public: 00059 TBrowserUserInterface( const Tstring& history ); 00060 ~TBrowserUserInterface(); 00061 00062 public: 00063 Tbool AcceptCommand(); 00064 const Tstring& GetInputCommand(); 00065 00066 public: 00067 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00068 00069 }; 00070 00071 #endif