summaryrefslogtreecommitdiff
path: root/include/svx/DiagramDataInterface.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/DiagramDataInterface.hxx')
-rw-r--r--include/svx/DiagramDataInterface.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/DiagramDataInterface.hxx b/include/svx/DiagramDataInterface.hxx
index 9174a2b2fefe..aaa3a46968b3 100644
--- a/include/svx/DiagramDataInterface.hxx
+++ b/include/svx/DiagramDataInterface.hxx
@@ -38,6 +38,9 @@ public:
virtual std::vector<std::pair<OUString, OUString>>
getChildren(const OUString& rParentId) const = 0;
+ // add new top-level node to data model
+ virtual void addNode(const OUString& rText) = 0;
+
protected:
~DiagramDataInterface() throw() {}
};