15 #ifndef SOFTWAREVERSION_H__
16 #define SOFTWAREVERSION_H__
19 #include "stanzaextension.h"
44 SoftwareVersion(
const std::string& name,
const std::string& version,
const std::string& os );
61 const std::string&
name()
const {
return m_name; }
67 const std::string&
version()
const {
return m_version; }
73 const std::string&
os()
const {
return m_os; }
76 virtual const std::string& filterString()
const;
85 virtual Tag* tag()
const;
95 std::string m_version;
101 #endif// SOFTWAREVERSION_H__
virtual StanzaExtension * clone() const
This is an implementation of XEP-0092 as a StanzaExtension.
const std::string & os() const
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
const std::string & version() const
const std::string & name() const
virtual StanzaExtension * newInstance(const Tag *tag) const
This is an abstraction of an XML element.