From f1a0c283e4fe5227fa9a0e95c2e8324475e12d01 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 12 Oct 2015 05:27:58 +0200 Subject: osc messages to trigger language switch are implemented --- apps/osc.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/osc.h') diff --git a/apps/osc.h b/apps/osc.h index b4a496e..ae851b3 100644 --- a/apps/osc.h +++ b/apps/osc.h @@ -26,12 +26,21 @@ #include "lo/lo.h" #include +#include "slist.h" #include "mixer.h" typedef struct { lo_server server_; + slist_t done_data_; } osc_t; +typedef struct { + osc_t* self_; + int state_; + char* lang_; + lo_message msg_; +} osc_done_data_t; + int osc_init(osc_t* o, const char* port); int osc_get_poll_fd_count(osc_t* o); int osc_get_poll_fds(osc_t* o, struct pollfd *pfds, int npfds); -- cgit v1.2.3