00001 // ===================================================================== 00002 // $Id: TBrowserUserInterface.hh,v 1.2 2003/07/30 16:18:51 goiwai Exp $ 00003 // $Name: CLDAQ-1-07-01 $ 00004 // 00005 // $Log: TBrowserUserInterface.hh,v $ 00006 // Revision 1.2 2003/07/30 16:18:51 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TBROWSERUSERINTERFACE_HH 00011 #define __TBROWSERUSERINTERFACE_HH 00012 00013 #include "Tglobals.h" 00014 #include "TUserInterface.hh" 00015 00016 class TBrowserUserInterface 00017 : public TUserInterface 00018 { 00019 00020 private: 00021 Tstring theAcceptString; 00022 00023 public: 00024 TBrowserUserInterface( const Tstring& history ); 00025 ~TBrowserUserInterface(); 00026 00027 public: 00028 Tbool AcceptCommand(); 00029 const Tstring& GetInputCommand(); 00030 00031 public: 00032 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00033 00034 }; 00035 00036 #endif