KHTML
SVGScriptElement.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef SVGScriptElement_h
00024 #define SVGScriptElement_h
00025 #if ENABLE(SVG)
00026
00027 #include "SVGElement.h"
00028 #include "SVGURIReference.h"
00029 #include "SVGExternalResourcesRequired.h"
00030
00031 namespace WebCore
00032 {
00033 class SVGScriptElement : public SVGElement,
00034 public SVGURIReference,
00035 public SVGExternalResourcesRequired
00036 {
00037 public:
00038 SVGScriptElement(const QualifiedName&, Document*);
00039 virtual ~SVGScriptElement();
00040
00041
00042 String type() const;
00043 void setType(const String&);
00044
00045
00046 virtual void parseMappedAttribute(MappedAttribute *attr);
00047
00048 virtual void getSubresourceAttributeStrings(Vector<String>&) const;
00049
00050
00051 virtual quint32 id() const { return SVGNames::scriptTag.id(); }
00052 virtual DOMString tagName() const { return SVGNames::scriptTag.tagName(); }
00053
00054 protected:
00055 virtual const SVGElement* contextElement() const { return this; }
00056
00057 private:
00058 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGURIReference, String, Href, href)
00059 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGExternalResourcesRequired, bool, ExternalResourcesRequired, externalResourcesRequired)
00060
00061 String m_type;
00062 };
00063
00064 }
00065
00066 #endif // ENABLE(SVG)
00067 #endif
00068
00069