summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/AttributeMap.h')
-rw-r--r--Swiften/Parser/AttributeMap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Parser/AttributeMap.h b/Swiften/Parser/AttributeMap.h
index 804d6aa..26d5826 100644
--- a/Swiften/Parser/AttributeMap.h
+++ b/Swiften/Parser/AttributeMap.h
@@ -37,18 +37,19 @@ namespace Swift {
};
AttributeMap();
std::string getAttribute(const std::string& attribute, const std::string& ns = "") const;
bool getBoolAttribute(const std::string& attribute, bool defaultValue = false) const;
boost::optional<std::string> getAttributeValue(const std::string&) const;
void addAttribute(const std::string& name, const std::string& ns, const std::string& value);
+ void addAttribute(const std::string& name, const std::string& ns, const std::string& prefix, const std::string& value);
const std::vector<Entry>& getEntries() const {
return attributes;
}
private:
typedef std::vector<Entry> AttributeValueMap;
AttributeValueMap attributes;
};