diff options
author | David Robillard <d@drobilla.net> | 2015-08-28 03:07:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-08-28 03:07:12 +0000 |
commit | 3b22d3c8c57867cad7304dac1e9be5ee36ae9715 (patch) | |
tree | 3de4bd2f383346164ecbee3a55d17a28d32623df /src/server/LV2Plugin.hpp | |
parent | e6f29e606ba73af640469e3ee1e2198893ce3e5c (diff) | |
download | ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.gz ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.bz2 ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.zip |
Get rid of LV2Info class.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5708 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Plugin.hpp')
-rw-r--r-- | src/server/LV2Plugin.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/LV2Plugin.hpp b/src/server/LV2Plugin.hpp index 63946071..0eee6731 100644 --- a/src/server/LV2Plugin.hpp +++ b/src/server/LV2Plugin.hpp @@ -24,9 +24,11 @@ #include "raul/URI.hpp" #include "PluginImpl.hpp" -#include "LV2Info.hpp" namespace Ingen { + +class World; + namespace Server { class GraphImpl; @@ -37,7 +39,7 @@ class BlockImpl; class LV2Plugin : public PluginImpl { public: - LV2Plugin(SPtr<LV2Info> lv2_info, const Raul::URI& uri); + LV2Plugin(World* world, const LilvPlugin* lplugin); BlockImpl* instantiate(BufferFactory& bufs, const Raul::Symbol& symbol, @@ -47,16 +49,14 @@ public: const Raul::Symbol symbol() const; - SPtr<LV2Info> lv2_info() const { return _lv2_info; } - + World* world() const { return _world; } const LilvPlugin* lilv_plugin() const { return _lilv_plugin; } - void lilv_plugin(const LilvPlugin* p); void load_presets(); private: + World* _world; const LilvPlugin* _lilv_plugin; - SPtr<LV2Info> _lv2_info; }; } // namespace Server |