summaryrefslogtreecommitdiffstats
path: root/src/module/World.hpp
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.hpp
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.hpp')
-rw-r--r--src/module/World.hpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/module/World.hpp b/src/module/World.hpp
index dededc44..29d904b2 100644
--- a/src/module/World.hpp
+++ b/src/module/World.hpp
@@ -30,7 +30,6 @@
#include "raul/SharedPtr.hpp"
#include "ingen-config.h"
-#include "module/ingen_module.hpp"
#ifdef HAVE_SLV2
typedef struct _SLV2World* SLV2World;
@@ -64,6 +63,9 @@ class WorldImpl;
*/
class World : public boost::noncopyable {
public:
+ World(Raul::Configuration* conf, int& argc, char**& argv);
+ virtual ~World();
+
virtual bool load(const char* name);
virtual void unload_all();
@@ -102,22 +104,12 @@ public:
virtual LV2Features* lv2_features();
-#ifdef HAVE_SLV2
virtual SLV2World slv2_world();
-#endif
-#ifdef INGEN_JACK_SESSION
virtual void set_jack_uuid(const std::string& uuid);
virtual std::string jack_uuid();
-#endif
private:
- friend Ingen::Shared::World* ::ingen_world_new(Raul::Configuration*, int&, char**&);
- World(Raul::Configuration* conf, int& argc, char**& argv);
-
- friend void ::ingen_world_free(Ingen::Shared::World* world);
- virtual ~World();
-
WorldImpl* _impl;
};