00001 // ===================================================================== 00002 // $Id: TGtkUserInterface.hh,v 1.2 2003/07/30 16:18:51 goiwai Exp $ 00003 // $Name: CLDAQ-1-08-00 $ 00004 // 00005 // $Log: TGtkUserInterface.hh,v $ 00006 // Revision 1.2 2003/07/30 16:18:51 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TGTKUSERINTERFACE_HH 00011 #define __TGTKUSERINTERFACE_HH 00012 #ifdef __CLDAQ_GTK_USE 00013 00014 #include "Tglobals.h" 00015 #include "TUserInterface.hh" 00016 00017 class TGtkUserInterface 00018 : public TUserInterface 00019 { 00020 00021 private: 00022 Tstring theAcceptString; 00023 00024 public: 00025 TGtkUserInterface( const Tstring& history ); 00026 ~TGtkUserInterface(); 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