diff --git a/src/include/xml.h b/src/include/xml.h index 15300ac64..fbadfbb8a 100755 --- a/src/include/xml.h +++ b/src/include/xml.h @@ -57,6 +57,7 @@ public: bool GetEnclosedReal(const char* strAttr, real & r) const; TXmlItem& SetAttr(const char* strAttr, const char* strVal); + void ListAttrs(TString_array & attrs) const { attrs.destroy(); if (m_Attributes) m_Attributes->get_keys(attrs); } const TString& GetAttr(const char* strAttr) const; TXmlItem& SetAttr(const char* strAttr, int n); TXmlItem& SetColorAttr(const char* strAttr, COLOR rgb);