KHTML
SVGCursorElement.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 SVGCursorElement_h
00024 #define SVGCursorElement_h
00025
00026 #if ENABLE(SVG)
00027 #include "SVGLength.h"
00028 #include "SVGElement.h"
00029 #include "SVGTests.h"
00030 #include "SVGURIReference.h"
00031 #include "SVGExternalResourcesRequired.h"
00032
00033 namespace WebCore {
00034
00035 class SVGCursorElement : public SVGElement,
00036 public SVGTests,
00037 public SVGExternalResourcesRequired,
00038 public SVGURIReference {
00039 public:
00040 SVGCursorElement(const QualifiedName&, Document*);
00041 virtual ~SVGCursorElement();
00042
00043 void addClient(SVGElement*);
00044 void removeClient(SVGElement*);
00045
00046 virtual bool isValid() const { return SVGTests::isValid(); }
00047
00048 virtual void parseMappedAttribute(MappedAttribute*);
00049 virtual void svgAttributeChanged(const QualifiedName&);
00050
00051 virtual void getSubresourceAttributeStrings(Vector<String>&) const;
00052
00053 protected:
00054 virtual const SVGElement* contextElement() const { return this; }
00055
00056 private:
00057 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGExternalResourcesRequired, bool, ExternalResourcesRequired, externalResourcesRequired)
00058 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGURIReference, String, Href, href)
00059
00060 ANIMATED_PROPERTY_DECLARATIONS(SVGCursorElement, SVGLength, SVGLength, X, x)
00061 ANIMATED_PROPERTY_DECLARATIONS(SVGCursorElement, SVGLength, SVGLength, Y, y)
00062
00063 HashSet<SVGElement*> m_clients;
00064 };
00065
00066 }
00067
00068 #endif // ENABLE(SVG)
00069 #endif