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;
This is an implementation of XEP-0092 as a StanzaExtension.
const std::string & version() const
virtual StanzaExtension * newInstance(const Tag *tag) const
const std::string & name() const
virtual StanzaExtension * clone() const
const std::string & os() const
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
The namespace for the gloox library.