summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 21:31:46 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 21:31:46 +0200
commit017982ff9d5d19d5524ebf010ea74540206c0f94 (patch)
treeeebb678e33e1a54af72e4f2e559b55632dc699a1 /ingen
parent3d117ed9a00c3fdbcb07327d6669aa26c3821720 (diff)
downloadingen-017982ff9d5d19d5524ebf010ea74540206c0f94.tar.gz
ingen-017982ff9d5d19d5524ebf010ea74540206c0f94.tar.bz2
ingen-017982ff9d5d19d5524ebf010ea74540206c0f94.zip
Allow context to be passed for serialisation
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Serialiser.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ingen/Serialiser.hpp b/ingen/Serialiser.hpp
index 824d96b5..16a7a912 100644
--- a/ingen/Serialiser.hpp
+++ b/ingen/Serialiser.hpp
@@ -20,6 +20,7 @@
#include <stdexcept>
#include <string>
+#include "ingen/Properties.hpp"
#include "ingen/ingen.h"
#include "ingen/types.hpp"
#include "sord/sordmm.hpp"
@@ -75,7 +76,8 @@ public:
*
* @throw std::logic_error
*/
- virtual void serialise(SPtr<const Node> object);
+ virtual void serialise(SPtr<const Node> object,
+ Property::Graph context = Property::Graph::DEFAULT);
/** Serialize an arc.
*