00001 // ===================================================================== 00024 // ===================================================================== 00025 #ifndef CLDAQ__TQTUSERINTERFACE_HH 00026 #define CLDAQ__TQTUSERINTERFACE_HH 00027 #ifdef __CLDAQ_QT_USE 00028 00029 #include "Tglobals.h" 00030 #include "TUserInterface.hh" 00031 00032 00052 class TQtUserInterface 00053 : public TUserInterface 00054 { 00055 00056 private: 00057 Tstring theAcceptString; 00058 00059 public: 00060 TQtUserInterface( const Tstring& history ); 00061 ~TQtUserInterface(); 00062 00063 public: 00064 Tbool AcceptCommand(); 00065 const Tstring& GetInputCommand(); 00066 00067 public: 00068 Tvoid NotFoundCommand( const Tstring& commandname ) const; 00069 00070 }; 00071 00072 #endif 00073 #endif