From 188e34375827915a9832ddb1db4b94494bbee455 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Aug 2007 14:10:46 +0000 Subject: Clean up engine/client interfaces. Hide Response, now an internal engine implementation detail (and not a problem for script bindings anymore). git-svn-id: http://svn.drobilla.net/lad/ingen@666 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/OSCClientReceiver.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/libs/client/OSCClientReceiver.hpp') diff --git a/src/libs/client/OSCClientReceiver.hpp b/src/libs/client/OSCClientReceiver.hpp index b27e7f78..45273201 100644 --- a/src/libs/client/OSCClientReceiver.hpp +++ b/src/libs/client/OSCClientReceiver.hpp @@ -66,7 +66,7 @@ public: //void enable() {} //void disable() {} - void start(); + void start(bool dump_osc); void stop(); int listen_port() { return _listen_port; } @@ -75,7 +75,8 @@ public: private: void setup_callbacks(); - static void error_cb(int num, const char* msg, const char* path); + static void lo_error_cb(int num, const char* msg, const char* path); + static int generic_cb(const char* path, const char* types, lo_arg** argv, int argc, void* data, void* user_data); static int unknown_cb(const char* path, const char* types, lo_arg** argv, int argc, void* data, void* osc_receiver); @@ -83,7 +84,8 @@ private: lo_server_thread _st; LO_HANDLER(error); - LO_HANDLER(response); + LO_HANDLER(response_ok); + LO_HANDLER(response_error); LO_HANDLER(num_plugins); LO_HANDLER(plugin); LO_HANDLER(plugin_list_end); -- cgit v1.2.1