summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation/serialisation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/serialisation/serialisation.cpp')
-rw-r--r--src/libs/serialisation/serialisation.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libs/serialisation/serialisation.cpp b/src/libs/serialisation/serialisation.cpp
index 969cf9f2..5da28529 100644
--- a/src/libs/serialisation/serialisation.cpp
+++ b/src/libs/serialisation/serialisation.cpp
@@ -15,8 +15,11 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include CONFIG_H_PATH
+#include "module/World.hpp"
#include "serialisation.hpp"
#include "Loader.hpp"
+#include "Serialiser.hpp"
namespace Ingen {
namespace Serialisation {
@@ -28,6 +31,15 @@ new_loader()
return new Loader();
}
+
+Ingen::Serialisation::Serialiser*
+new_serialiser(Ingen::Shared::World* world)
+{
+ assert(world->rdf_world);
+ return new Serialiser(*world->rdf_world);
+}
+
+
} // namespace Serialisation
} // namespace Ingen