summaryrefslogtreecommitdiffstats
path: root/src/module/World.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 04:16:04 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 04:16:04 +0000
commit4baec44d69d855a28d234b375bdb902e89114356 (patch)
tree753b8a475248507cbf13812ae0770bb24f1122f5 /src/module/World.hpp
parentbb4f3f48003b20266862752e402ed492e28303bf (diff)
downloadingen-4baec44d69d855a28d234b375bdb902e89114356.tar.gz
ingen-4baec44d69d855a28d234b375bdb902e89114356.tar.bz2
ingen-4baec44d69d855a28d234b375bdb902e89114356.zip
Update bindings.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2079 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module/World.hpp')
-rw-r--r--src/module/World.hpp33
1 files changed, 14 insertions, 19 deletions
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 <string>
+#include <boost/shared_ptr.hpp>
#include <glibmm/module.h>
-#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<EngineInterface> engine;
- SharedPtr<Engine> local_engine;
- SharedPtr<Serialisation::Serialiser> serialiser;
- SharedPtr<Serialisation::Parser> parser;
- SharedPtr<Store> store;
+ SLV2World slv2_world;
+ LV2Features* lv2_features;
+
+ boost::shared_ptr<EngineInterface> engine;
+ boost::shared_ptr<Engine> local_engine;
+ boost::shared_ptr<Serialisation::Serialiser> serialiser;
+ boost::shared_ptr<Serialisation::Parser> parser;
+ boost::shared_ptr<Store> store;
- SharedPtr<Glib::Module> serialisation_module;
+ boost::shared_ptr<Glib::Module> serialisation_module;
};