diff options
Diffstat (limited to 'Swiften/Parser/Attribute.h')
-rw-r--r-- | Swiften/Parser/Attribute.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Swiften/Parser/Attribute.h b/Swiften/Parser/Attribute.h index f54317e..07e63b4 100644 --- a/Swiften/Parser/Attribute.h +++ b/Swiften/Parser/Attribute.h @@ -16,2 +16,5 @@ namespace Swift { + Attribute(const std::string& name, const std::string& ns, const std::string& prefix) : name(name), ns(ns), prefix(prefix) { + } + const std::string& getName() const { @@ -24,2 +27,6 @@ namespace Swift { + const std::string& getPrefix() const { + return prefix; + } + bool operator==(const Attribute& o) const { @@ -31,2 +38,3 @@ namespace Swift { std::string ns; + std::string prefix; }; |