diff options
Diffstat (limited to 'quanta/parsers/tag.h')
-rw-r--r-- | quanta/parsers/tag.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quanta/parsers/tag.h b/quanta/parsers/tag.h index de7e0123..073e9568 100644 --- a/quanta/parsers/tag.h +++ b/quanta/parsers/tag.h @@ -88,6 +88,9 @@ public: void addAttribute(TagAttr attr) {attrs.append(attr);} /** Get the attribute number index */ TagAttr getAttribute(uint index) const {return attrs[index];} + /* /!\ KLUDGE WARNING /!\ */ + /** Get the attribute number index: returns a pointer */ + TagAttr* getAttribute_gcc46(uint index) {return (TagAttr*) &attrs[index];} /** Remove the attribute number index */ void deleteAttribute(uint index) {attrs.remove(attrs.at(index));} /** Insert a new Attribute, even if it already exists. Prefer using editAttribute. |