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