From 017982ff9d5d19d5524ebf010ea74540206c0f94 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 21:31:46 +0200 Subject: Allow context to be passed for serialisation --- ingen/Serialiser.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ingen') 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 #include +#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 object); + virtual void serialise(SPtr object, + Property::Graph context = Property::Graph::DEFAULT); /** Serialize an arc. * -- cgit v1.2.1