summaryrefslogtreecommitdiffstats
path: root/src/shared/World.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 21:50:14 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 21:50:14 +0000
commitda618852b67d64f5fed686234f5a626c33812c87 (patch)
tree2226d335f85478689a9c0f83f1f58bd9e29d635e /src/shared/World.cpp
parente867b85118f275a263ef1a3162567d90be62d0ac (diff)
downloadingen-da618852b67d64f5fed686234f5a626c33812c87.tar.gz
ingen-da618852b67d64f5fed686234f5a626c33812c87.tar.bz2
ingen-da618852b67d64f5fed686234f5a626c33812c87.zip
Add EngineBase, a pure virtual public interface for the engine.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3155 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/World.cpp')
-rw-r--r--src/shared/World.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/World.cpp b/src/shared/World.cpp
index f869dc33..38c08340 100644
--- a/src/shared/World.cpp
+++ b/src/shared/World.cpp
@@ -25,6 +25,7 @@
#endif
#include "raul/log.hpp"
#include "sord/sordmm.hpp"
+#include "ingen/EngineBase.hpp"
#include "shared/runtime_paths.hpp"
#include "shared/LV2Features.hpp"
#include "shared/LV2URIMap.hpp"
@@ -172,7 +173,7 @@ public:
Sord::World* rdf_world;
SharedPtr<LV2URIMap> uris;
SharedPtr<EngineInterface> engine;
- SharedPtr<Engine> local_engine;
+ SharedPtr<EngineBase> local_engine;
SharedPtr<Serialisation::Serialiser> serialiser;
SharedPtr<Serialisation::Parser> parser;
SharedPtr<Store> store;
@@ -191,7 +192,7 @@ World::~World()
delete _impl;
}
-void World::set_local_engine(SharedPtr<Engine> e) { _impl->local_engine = e; }
+void World::set_local_engine(SharedPtr<EngineBase> e) { _impl->local_engine = e; }
void World::set_engine(SharedPtr<EngineInterface> e) { _impl->engine = e; }
void World::set_serialiser(SharedPtr<Serialisation::Serialiser> s) { _impl->serialiser = s; }
void World::set_parser(SharedPtr<Serialisation::Parser> p) { _impl->parser = p; }
@@ -200,7 +201,7 @@ void World::set_conf(Raul::Configuration* c) { _impl->conf
int& World::argc() { return _impl->argc; }
char**& World::argv() { return _impl->argv; }
-SharedPtr<Engine> World::local_engine() { return _impl->local_engine; }
+SharedPtr<EngineBase> World::local_engine() { return _impl->local_engine; }
SharedPtr<EngineInterface> World::engine() { return _impl->engine; }
SharedPtr<Serialisation::Serialiser> World::serialiser() { return _impl->serialiser; }
SharedPtr<Serialisation::Parser> World::parser() { return _impl->parser; }