summaryrefslogtreecommitdiffstats
path: root/src/xml/node.h
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-09-11 14:29:13 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-09-11 14:29:13 +0000
commita4530a981342d92a0a5226a87734753d60d56f93 (patch)
tree06a932cfcd4b0ee2bc0c933e3670d7943e8a1803 /src/xml/node.h
parentFix bug 1684238 (diff)
downloadinkscape-a4530a981342d92a0a5226a87734753d60d56f93.tar.gz
inkscape-a4530a981342d92a0a5226a87734753d60d56f93.zip
Make XML tree a double-linked-list (significant improvement on previous node lookup)
Diffstat (limited to 'src/xml/node.h')
-rw-r--r--src/xml/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/node.h b/src/xml/node.h
index 32c5837ae..2ccc1fbe1 100644
--- a/src/xml/node.h
+++ b/src/xml/node.h
@@ -286,6 +286,8 @@ public:
*/
virtual Node *next()=0;
virtual Node const *next() const=0;
+ virtual Node *prev()=0;
+ virtual Node const *prev() const=0;
//@}
//@{