1 ////////////////////////////////////////////////////////////////////////////// 2 // Name: SVGDefinitionSrcElement.h 3 // Author: Alex Thuering 4 // Copyright: (c) 2005 Alex Thuering 5 // Licence: wxWindows licence 6 // Notes: generated by generate.py 7 ////////////////////////////////////////////////////////////////////////////// 8 9 #ifndef WX_SVG_DEFINITION_SRC_ELEMENT_H 10 #define WX_SVG_DEFINITION_SRC_ELEMENT_H 11 12 #include "SVGElement.h" 13 #include "String_wxsvg.h" 14 #include "Element.h" 15 16 class wxSVGDefinitionSrcElement: 17 public wxSVGElement 18 { 19 public: 20 wxSVGDefinitionSrcElement(wxString tagName = wxT("definition-src")): wxSVGElement(tagName)21 wxSVGElement(tagName) {} ~wxSVGDefinitionSrcElement()22 virtual ~wxSVGDefinitionSrcElement() {} 23 wxSvgXmlNode* CloneNode(bool deep = true) { return new wxSVGDefinitionSrcElement(*this); } 24 bool HasAttribute(const wxString& name) const; 25 wxString GetAttribute(const wxString& name) const; 26 bool SetAttribute(const wxString& name, const wxString& value); 27 wxSvgXmlAttrHash GetAttributes() const; GetDtd()28 virtual wxSVGDTD GetDtd() const { return wxSVG_DEFINITION_SRC_ELEMENT; } 29 }; 30 31 #endif // WX_SVG_DEFINITION_SRC_ELEMENT_H 32