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