00001 #ifndef _REC_ROBOTINO_SERVER_V1_MESSAGES_INFO_H_ 00002 #define _REC_ROBOTINO_SERVER_V1_MESSAGES_INFO_H_ 00003 00004 #include <QByteArray> 00005 #include <QString> 00006 00007 namespace rec 00008 { 00009 namespace robotino 00010 { 00011 namespace server 00012 { 00013 namespace v1 00014 { 00015 namespace messages 00016 { 00017 class Info 00018 { 00019 public: 00020 Info(); 00021 00022 void setMessage( const QString& message ); 00023 00024 void setPassiveMode( bool isPassiveMode ); 00025 00026 QByteArray encode() const; 00027 00028 private: 00029 QString _message; 00030 bool _isPassiveMode; 00031 }; 00032 } 00033 } 00034 } 00035 } 00036 } 00037 00038 #endif //_REC_ROBOTINO_SERVER_V1_MESSAGES_INFO_H_