summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-05 19:03:50 +0000
committerJabiertxof <jtx@jtx>2017-01-05 19:03:50 +0000
commit7bedd224ace433cf4c1a829ba38f6a3c388227e6 (patch)
treec859469be41c0b1248bd2b3a18560697c120596b /src/sp-object.h
parent* [INTL:sk] Slovak translation update (diff)
downloadinkscape-7bedd224ace433cf4c1a829ba38f6a3c388227e6.tar.gz
inkscape-7bedd224ace433cf4c1a829ba38f6a3c388227e6.zip
Adding base
(bzr r15392.1.1)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index 9abbd324b..d145e966b 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -318,6 +318,9 @@ public:
SPObject *lastChild() { return children.empty() ? nullptr : &children.back(); }
SPObject const *lastChild() const { return children.empty() ? nullptr : &children.back(); }
+ SPObject *nthChild(unsigned index);
+ SPObject const *nthChild(unsigned index) const;
+
enum Action { ActionGeneral, ActionBBox, ActionUpdate, ActionShow };
/**