summaryrefslogtreecommitdiffstats
path: root/src/module/World.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-15 20:20:58 +0000
committerDavid Robillard <d@drobilla.net>2011-04-15 20:20:58 +0000
commit42b469037c1b2bb55cd400a24cabfa29e7ae1ab2 (patch)
tree1b2e6310cb6fc7fe9b6066349d71ef1c1a9c829f /src/module/World.cpp
parenta25b29c2e0843964ad82870c102857e3a83fad61 (diff)
downloadingen-42b469037c1b2bb55cd400a24cabfa29e7ae1ab2.tar.gz
ingen-42b469037c1b2bb55cd400a24cabfa29e7ae1ab2.tar.bz2
ingen-42b469037c1b2bb55cd400a24cabfa29e7ae1ab2.zip
Remove pointless module interface to ingen_module (World).
Having a dlopen interface to this code makes no sense since it must be linked against to load modules in the first place. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3146 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module/World.cpp')
-rw-r--r--src/module/World.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/module/World.cpp b/src/module/World.cpp
index 48fe7753..6667cb9f 100644
--- a/src/module/World.cpp
+++ b/src/module/World.cpp
@@ -106,6 +106,8 @@ public:
, uris(new Shared::LV2URIMap())
#ifdef HAVE_SLV2
, slv2_world(slv2_world_new())
+#else
+ , slv2_world(NULL)
#endif
{
#ifdef HAVE_SLV2
@@ -140,10 +142,10 @@ public:
interface_factories.clear();
script_runners.clear();
- #ifdef HAVE_SLV2
+#ifdef HAVE_SLV2
slv2_world_free(slv2_world);
slv2_world = NULL;
- #endif
+#endif
delete rdf_world;
rdf_world = NULL;
@@ -175,12 +177,8 @@ public:
SharedPtr<Serialisation::Serialiser> serialiser;
SharedPtr<Serialisation::Parser> parser;
SharedPtr<Store> store;
-#ifdef HAVE_SLV2
SLV2World slv2_world;
-#endif
-#ifdef INGEN_JACK_SESSION
std::string jack_uuid;
-#endif
};
@@ -286,8 +284,6 @@ World::add_interface_factory(const std::string& scheme, InterfaceFactory factory
}
-#ifdef INGEN_JACK_SESSION
-
void
World::set_jack_uuid(const std::string& uuid)
{
@@ -301,8 +297,6 @@ World::jack_uuid()
return _impl->jack_uuid;
}
-#endif // INGEN_JACK_SESSION
-
} // namespace Shared
} // namespace Ingen