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