diff --git a/src/dom/svgtypes.h b/src/dom/svgtypes.h
index 36bb1fcdf14fb3f6d6fc6f7bd3957e7c9304fc60..9b3d1caf6192c139ddc610ede5863d0154e0726d 100644 (file)
--- a/src/dom/svgtypes.h
+++ b/src/dom/svgtypes.h
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006 Bob Jamison
+ * Copyright (C) 2006-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * =======================================================================
+ * NOTES
+ *
+ * This API follows:
+ * http://www.w3.org/TR/SVG11/svgdom.html
+ *
+ * This file contains the definitions of the non-Node SVG classes. DOM Nodes
+ * for SVG are defined in svg.h.
+ *
*/
class SVGElement;
+typedef Ptr<SVGElement> SVGElementPtr;
class SVGUseElement;
+typedef Ptr<SVGUseElement> SVGUseElementPtr;
class SVGAnimatedPreserveAspectRatio;
/**
*
*/
- virtual SVGElement *getNearestViewportElement()
+ virtual SVGElementPtr getNearestViewportElement()
{
- SVGElement *result = NULL;
+ SVGElementPtr result;
return result;
}
/**
*
*/
- virtual SVGElement *getFarthestViewportElement()
+ virtual SVGElementPtr getFarthestViewportElement()
{
- SVGElement *result = NULL;
+ SVGElementPtr result;
return result;
}
/**
*
*/
- virtual SVGElement *getViewTarget()
+ virtual SVGElementPtr getViewTarget()
{ return viewTarget; }
/**
protected:
- SVGElement *viewTarget;
+ SVGElementPtr viewTarget;
SVGTransformList transform;
};
/**
*
*/
- virtual SVGElement *getCorrespondingElement()
+ virtual SVGElementPtr getCorrespondingElement()
{ return correspondingElement; }
/**
*
*/
- virtual SVGUseElement *getCorrespondingUseElement()
+ virtual SVGUseElementPtr getCorrespondingUseElement()
{ return correspondingUseElement; }
/**
protected:
- SVGElement *correspondingElement;
- SVGUseElement *correspondingUseElement;
+ SVGElementPtr correspondingElement;
+ SVGUseElementPtr correspondingUseElement;
};