00001 // ===================================================================== 00002 // $Id: TBrowserUserInterface.hh,v 1.1.1.1 2003/06/27 02:56:42 goiwai Exp $ 00003 // $Name: CLDAQ-1-06-02 $ 00004 // ===================================================================== 00005 #ifndef __TBROWSERUSERINTERFACE_HH 00006 #define __TBROWSERUSERINTERFACE_HH 00007 00008 #include "Tglobals.h" 00009 #include "TUserInterface.hh" 00010 00011 class TBrowserUserInterface 00012 : public TUserInterface 00013 { 00014 00015 private: 00016 Tstring theAcceptString; 00017 00018 public: 00019 TBrowserUserInterface( const Tstring& history ); 00020 ~TBrowserUserInterface(); 00021 00022 public: 00023 Tbool AcceptCommand(); 00024 const Tstring& GetInputCommand(); 00025 00026 public: 00027 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00028 00029 }; 00030 00031 #endif