summaryrefslogtreecommitdiff
path: root/src/nodemanager.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-08 18:24:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-08 19:39:31 +0200
commit75d85549c6d2a5284593e20c21d61fc5d6200bca (patch)
treeb5077e272f238b47af9530f9b2fac2e69839d063 /src/nodemanager.h
parent195bf2f6a7d7268a88338ae8fd3a30fdb5196300 (diff)
Add 'insert before id' to create and move commands.
Diffstat (limited to 'src/nodemanager.h')
-rw-r--r--src/nodemanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nodemanager.h b/src/nodemanager.h
index f0bc81e..97d890f 100644
--- a/src/nodemanager.h
+++ b/src/nodemanager.h
@@ -45,12 +45,12 @@ public:
void init(std::string filename);
- NodeIdList createNode(nodeid_t parentid, nodeid_t *id) throw (std::exception);
+ NodeIdList createNode(nodeid_t parentid, nodeid_t *id, nodeid_t insertbeforeid) throw (std::exception);
NodeIdList updateNode(nodeid_t id, const std::string &name,
const std::string &value) throw (std::exception);
NodeIdList removeNode(nodeid_t id) throw (std::exception);
- NodeIdListPair moveNode(nodeid_t id, nodeid_t newParent) throw (std::exception);
+ NodeIdListPair moveNode(nodeid_t id, nodeid_t newParent, nodeid_t beforeId) throw (std::exception);
NodeIdList subNodes(nodeid_t) throw (std::exception);