oob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef OOB_H__
00015 #define OOB_H__
00016
00017 #include "stanzaextension.h"
00018 #include "macros.h"
00019
00020 #include <string>
00021
00022 namespace gloox
00023 {
00024
00025 class Tag;
00026
00035 class GLOOX_API OOB : public StanzaExtension
00036 {
00037 public:
00045 OOB( const std::string& url, const std::string& description, bool iqext );
00046
00053 OOB( Tag *tag );
00054
00058 virtual ~OOB();
00059
00064 const std::string& url() const { return m_url; }
00065
00070 const std::string& desc() const { return m_desc; }
00071
00072
00073 Tag* tag() const;
00074
00075 private:
00076 std::string m_xmlns;
00077 std::string m_url;
00078 std::string m_desc;
00079 bool m_iqext;
00080 bool m_valid;
00081
00082 };
00083
00084 }
00085
00086 #endif // OOB_H__