summaryrefslogtreecommitdiffstats
path: root/src/engine/OSCEngineReceiver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/OSCEngineReceiver.hpp')
-rw-r--r--src/engine/OSCEngineReceiver.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/OSCEngineReceiver.hpp b/src/engine/OSCEngineReceiver.hpp
index 7279913f..168d411a 100644
--- a/src/engine/OSCEngineReceiver.hpp
+++ b/src/engine/OSCEngineReceiver.hpp
@@ -22,6 +22,7 @@
#include <lo/lo.h>
#include "QueuedEngineInterface.hpp"
#include "Request.hpp"
+#include "ingen-config.h"
namespace Ingen {
@@ -76,6 +77,14 @@ private:
ReceiveThread* _receive_thread;
+#ifdef LIBLO_BUNDLES
+ static int bundle_cb(lo_bundle_edge edge, void* myself) {
+ return ((OSCEngineReceiver*)myself)->_bundle_cb(edge);
+ }
+
+ int _bundle_cb(lo_bundle_edge edge);
+#endif
+
static void error_cb(int num, const char* msg, const char* path);
static int set_response_address_cb(LO_HANDLER_ARGS, void* myself);
static int generic_cb(LO_HANDLER_ARGS, void* myself);