diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-12-12 08:40:34 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-12-12 08:40:34 +0000 |
| commit | aadfea4113abc6863d7ab03d21b973802c41c503 (patch) | |
| tree | 3f890c0c112433fd850d59558208addf1baa85da /src/sp-skeleton.cpp | |
| parent | Pot and Dutch translation update (diff) | |
| parent | A simple layout document as to what, why and how is cppification. (diff) | |
| download | inkscape-aadfea4113abc6863d7ab03d21b973802c41c503.tar.gz inkscape-aadfea4113abc6863d7ab03d21b973802c41c503.zip | |
Merge and cleanup of GSoC C++-ification project.
(bzr r9945.1.1)
Diffstat (limited to 'src/sp-skeleton.cpp')
| -rw-r--r-- | src/sp-skeleton.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/sp-skeleton.cpp b/src/sp-skeleton.cpp index 329df8eb6..42fc5289f 100644 --- a/src/sp-skeleton.cpp +++ b/src/sp-skeleton.cpp @@ -1,5 +1,3 @@ -#define __SP_SKELETON_CPP__ - /** \file * SVG <skeleton> implementation, used as an example for a base starting class * when implementing new sp-objects. @@ -14,6 +12,7 @@ /* * Authors: * Kees Cook <kees@outflux.net> + * Abhishek Sharma * * Copyright (C) 2004 Kees Cook * @@ -110,18 +109,18 @@ sp_skeleton_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *r /* Pay attention to certain settings here - 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" ); */ } |
