diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch) | |
tree | 089c1366a567dfbf88c0473288236b276ef24bf6 /src/shared/World.cpp | |
parent | 987710474b824cb92d83ff6fa7a090f50e10756f (diff) | |
download | ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2 ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/World.cpp')
-rw-r--r-- | src/shared/World.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/shared/World.cpp b/src/shared/World.cpp index 6667cb9f..a0ba895b 100644 --- a/src/shared/World.cpp +++ b/src/shared/World.cpp @@ -75,7 +75,7 @@ load_module(const string& name) // Try default directory if not found module = new Glib::Module(Shared::module_path(name), Glib::MODULE_BIND_LAZY); - + // FIXME: SEGV on exit without this module->make_resident(); @@ -94,7 +94,6 @@ load_module(const string& name) } } - class WorldImpl : public boost::noncopyable { public: WorldImpl(Raul::Configuration* conf, int& a_argc, char**& a_argv) @@ -181,13 +180,11 @@ public: std::string jack_uuid; }; - World::World(Raul::Configuration* conf, int& argc, char**& argv) : _impl(new WorldImpl(conf, argc, argv)) { } - World::~World() { unload_all(); @@ -217,7 +214,6 @@ SLV2World World::slv2_world() { return _impl->slv2_world; } Sord::World* World::rdf_world() { return _impl->rdf_world; } SharedPtr<LV2URIMap> World::uris() { return _impl->uris; } - /** Load an Ingen module. * @return true on success, false on failure */ @@ -238,7 +234,6 @@ World::load(const char* name) } } - /** Unload all loaded Ingen modules. */ void @@ -247,7 +242,6 @@ World::unload_all() _impl->modules.clear(); } - /** Get an interface for a remote engine at @a url */ SharedPtr<Ingen::Shared::EngineInterface> @@ -263,7 +257,6 @@ World::interface(const std::string& url) return i->second(this, url); } - /** Run a script of type @a mime_type at filename @a filename */ bool World::run(const std::string& mime_type, const std::string& filename) @@ -283,20 +276,17 @@ World::add_interface_factory(const std::string& scheme, InterfaceFactory factory _impl->interface_factories.insert(make_pair(scheme, factory)); } - void World::set_jack_uuid(const std::string& uuid) { _impl->jack_uuid = uuid; } - std::string World::jack_uuid() { return _impl->jack_uuid; } - } // namespace Shared } // namespace Ingen |