00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TGTKUSERINTERFACE_HH 00030 #define CLDAQ__TGTKUSERINTERFACE_HH 00031 #ifdef __CLDAQ_GTK_USE 00032 00033 #include "Tglobals.h" 00034 #include "TUserInterface.hh" 00035 00036 00056 class TGtkUserInterface 00057 : public TUserInterface 00058 { 00059 00060 private: 00061 Tstring theAcceptString; 00062 00063 public: 00064 TGtkUserInterface( const Tstring& history ); 00065 ~TGtkUserInterface(); 00066 00067 public: 00068 Tbool AcceptCommand(); 00069 const Tstring& GetInputCommand(); 00070 00071 public: 00072 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00073 00074 #ifdef __CLDAQ_ROOT_DLL 00075 ClassDef(TGtkUserInterface,0) 00076 #endif 00077 00078 }; 00079 00080 #endif 00081 #endif