From 4baec44d69d855a28d234b375bdb902e89114356 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 3 Jun 2009 04:16:04 +0000 Subject: Update bindings. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2079 a436a847-0d15-0410-975c-d299462d15a1 --- src/module/World.hpp | 33 ++++++++++++++------------------- src/module/global.cpp | 1 + 2 files changed, 15 insertions(+), 19 deletions(-) (limited to 'src/module') diff --git a/src/module/World.hpp b/src/module/World.hpp index 013d615a..27c9c764 100644 --- a/src/module/World.hpp +++ b/src/module/World.hpp @@ -18,27 +18,24 @@ #ifndef INGEN_WORLD_HPP #define INGEN_WORLD_HPP -#include "ingen-config.h" - -#include +#include #include -#include "raul/SharedPtr.hpp" -#include "shared/LV2Features.hpp" -#ifdef HAVE_SLV2 -#include "slv2/slv2.h" -#endif +typedef struct _SLV2World* SLV2World; namespace Redland { class World; } namespace Ingen { + class Engine; namespace Serialisation { class Serialiser; class Parser; } namespace Shared { + class EngineInterface; class Store; +class LV2Features; /** The "world" all Ingen modules may share. @@ -52,20 +49,18 @@ class Store; * The Ingen System(TM) and whatnot. */ struct World { -#ifdef HAVE_SLV2 - SLV2World slv2_world; - LV2Features* lv2_features; -#endif - Redland::World* rdf_world; - SharedPtr engine; - SharedPtr local_engine; - SharedPtr serialiser; - SharedPtr parser; - SharedPtr store; + SLV2World slv2_world; + LV2Features* lv2_features; + + boost::shared_ptr engine; + boost::shared_ptr local_engine; + boost::shared_ptr serialiser; + boost::shared_ptr parser; + boost::shared_ptr store; - SharedPtr serialisation_module; + boost::shared_ptr serialisation_module; }; diff --git a/src/module/global.cpp b/src/module/global.cpp index 1c592682..2415f6ef 100644 --- a/src/module/global.cpp +++ b/src/module/global.cpp @@ -17,6 +17,7 @@ #include #include "redlandmm/World.hpp" +#include "shared/LV2Features.hpp" #include "global.hpp" #include "World.hpp" -- cgit v1.2.1