diff options
author | David Robillard <d@drobilla.net> | 2009-11-14 20:44:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-14 20:44:40 +0000 |
commit | 6ae2018e81e7e81e4906e62dc6224ad34298d9c2 (patch) | |
tree | 11286438977c4f975b5148dc93b5f4dfafabdbdc /src/engine/LV2Info.hpp | |
parent | cfec427867f42d7aa7bea6dfbb0736b5ce99e9e2 (diff) | |
download | ingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.tar.gz ingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.tar.bz2 ingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.zip |
Object extension.
Port resize extension.
Sensible extension(s) implementation design for Ingen.
Replace string port extension support in Ingen with Object port extension.
Implement port resize extension in Ingen.
Some test plugins for this stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2260 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LV2Info.hpp')
-rw-r--r-- | src/engine/LV2Info.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/engine/LV2Info.hpp b/src/engine/LV2Info.hpp index 6f34dc57..8d4478aa 100644 --- a/src/engine/LV2Info.hpp +++ b/src/engine/LV2Info.hpp @@ -31,13 +31,16 @@ #include "shared/LV2Features.hpp" #include "uri-map.lv2/uri-map.h" #include "event.lv2/event.h" +#include "object.lv2/object.h" +#include "resize-port.lv2/resize-port.h" namespace Ingen { +namespace Shared { class Node; } /** Stuff that may need to be passed to an LV2 plugin (i.e. LV2 features). */ -class LV2Info : public Shared::LV2URIMap { +class LV2Info { public: LV2Info(Ingen::Shared::World* world); ~LV2Info(); @@ -47,16 +50,11 @@ public: SLV2Value control_class; SLV2Value audio_class; SLV2Value event_class; - SLV2Value string_class; + SLV2Value object_port_class; Ingen::Shared::World& world() { return *_world; } SLV2World lv2_world() { return _world->slv2_world; } - static uint32_t event_ref(LV2_Event_Callback_Data callback_data, - LV2_Event* event); - - LV2_Feature** lv2_features() const { return _world->lv2_features->lv2_features(); } - private: Ingen::Shared::World* _world; }; |