Code

Mnemonics in "Input devices", and LPE dialogs (Bug 170765)
[inkscape.git] / src / sp-animation.cpp
index 8a2a02bdcb3a581e4567200be1014db0cf165fd9..f0796b7c61209caeb14fc251ed00663a5d40e050 100644 (file)
@@ -1,5 +1,3 @@
-#define __SP_ANIMATION_C__
-
 /** \file
  * SVG <animate> implementation.
  *
@@ -8,6 +6,7 @@
 /*
  * Authors:
  *   Lauris Kaplinski <lauris@kaplinski.com>
+ *   Abhishek Sharma
  *
  * Copyright (C) 2002 Lauris Kaplinski
  *
@@ -78,7 +77,7 @@ sp_animation_class_init(SPAnimationClass *klass)
 }
 
 static void
-sp_animation_init(SPAnimation *animation)
+sp_animation_init(SPAnimation */*animation*/)
 {
 }
 
@@ -89,22 +88,22 @@ sp_animation_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *
     if (((SPObjectClass *) animation_parent_class)->build)
         ((SPObjectClass *) animation_parent_class)->build(object, document, repr);
 
-    sp_object_read_attr(object, "xlink:href");
-    sp_object_read_attr(object, "attributeName");
-    sp_object_read_attr(object, "attributeType");
-    sp_object_read_attr(object, "begin");
-    sp_object_read_attr(object, "dur");
-    sp_object_read_attr(object, "end");
-    sp_object_read_attr(object, "min");
-    sp_object_read_attr(object, "max");
-    sp_object_read_attr(object, "restart");
-    sp_object_read_attr(object, "repeatCount");
-    sp_object_read_attr(object, "repeatDur");
-    sp_object_read_attr(object, "fill");
+    object->readAttr( "xlink:href" );
+    object->readAttr( "attributeName" );
+    object->readAttr( "attributeType" );
+    object->readAttr( "begin" );
+    object->readAttr( "dur" );
+    object->readAttr( "end" );
+    object->readAttr( "min" );
+    object->readAttr( "max" );
+    object->readAttr( "restart" );
+    object->readAttr( "repeatCount" );
+    object->readAttr( "repeatDur" );
+    object->readAttr( "fill" );
 }
 
 static void
-sp_animation_release(SPObject *object)
+sp_animation_release(SPObject */*object*/)
 {
 }
 
@@ -165,7 +164,7 @@ sp_ianimation_class_init(SPIAnimationClass *klass)
 }
 
 static void
-sp_ianimation_init(SPIAnimation *animation)
+sp_ianimation_init(SPIAnimation */*animation*/)
 {
 }
 
@@ -176,19 +175,19 @@ sp_ianimation_build(SPObject *object, SPDocument *document, Inkscape::XML::Node
     if (((SPObjectClass *) ianimation_parent_class)->build)
         ((SPObjectClass *) ianimation_parent_class)->build(object, document, repr);
 
-    sp_object_read_attr(object, "calcMode");
-    sp_object_read_attr(object, "values");
-    sp_object_read_attr(object, "keyTimes");
-    sp_object_read_attr(object, "keySplines");
-    sp_object_read_attr(object, "from");
-    sp_object_read_attr(object, "to");
-    sp_object_read_attr(object, "by");
-    sp_object_read_attr(object, "additive");
-    sp_object_read_attr(object, "accumulate");
+    object->readAttr( "calcMode" );
+    object->readAttr( "values" );
+    object->readAttr( "keyTimes" );
+    object->readAttr( "keySplines" );
+    object->readAttr( "from" );
+    object->readAttr( "to" );
+    object->readAttr( "by" );
+    object->readAttr( "additive" );
+    object->readAttr( "accumulate" );
 }
 
 static void
-sp_ianimation_release(SPObject *object)
+sp_ianimation_release(SPObject */*object*/)
 {
 }
 
@@ -249,7 +248,7 @@ sp_animate_class_init(SPAnimateClass *klass)
 }
 
 static void
-sp_animate_init(SPAnimate *animate)
+sp_animate_init(SPAnimate */*animate*/)
 {
 }
 
@@ -262,7 +261,7 @@ sp_animate_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *re
 }
 
 static void
-sp_animate_release(SPObject *object)
+sp_animate_release(SPObject */*object*/)
 {
 }
 
@@ -287,4 +286,4 @@ sp_animate_set(SPObject *object, unsigned int key, gchar const *value)
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :