summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LV2Info.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-01 20:56:33 +0000
committerDavid Robillard <d@drobilla.net>2008-05-01 20:56:33 +0000
commitc4145c33c0734ef39c8fa29affda567c36b3f4b3 (patch)
treef41641f31cd25611e755e0ccf80686fe7d5f8b64 /src/libs/engine/LV2Info.hpp
parent5491515dd925edafba02cf97bee96570b79ef0ea (diff)
downloadingen-c4145c33c0734ef39c8fa29affda567c36b3f4b3.tar.gz
ingen-c4145c33c0734ef39c8fa29affda567c36b3f4b3.tar.bz2
ingen-c4145c33c0734ef39c8fa29affda567c36b3f4b3.zip
Apply Ingen LV2 event referencing (stubs) patch from larsl.
git-svn-id: http://svn.drobilla.net/lad/ingen@1190 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/LV2Info.hpp')
-rw-r--r--src/libs/engine/LV2Info.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libs/engine/LV2Info.hpp b/src/libs/engine/LV2Info.hpp
index ad314d77..61bfe468 100644
--- a/src/libs/engine/LV2Info.hpp
+++ b/src/libs/engine/LV2Info.hpp
@@ -28,6 +28,8 @@
#include <slv2/slv2.h>
#include "module/global.hpp"
#include "lv2/uri_map/lv2_uri_map.h"
+#include "lv2/event/lv2_event.h"
+
namespace Ingen {
@@ -47,6 +49,8 @@ public:
LV2_Feature uri_map_feature;
LV2_URI_Map_Feature uri_map_feature_data;
+ LV2_Feature event_feature;
+ LV2_Event_Feature event_feature_data;
typedef std::map<std::string, uint32_t> URIMap;
URIMap uri_map;
@@ -56,6 +60,9 @@ public:
const char* map,
const char* uri);
+ static uint32_t event_ref(LV2_Event_Callback_Data callback_data,
+ LV2_Event* event);
+
LV2_Feature** lv2_features;
};