aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2/sandbox_slave.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-04 08:59:44 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-04-04 08:59:44 +0200
commitbff1a67c95f1340b3845d1a8d9332cb6b4a3b8c4 (patch)
tree3160919477501289b36d5848e9844c5f3d20fb3e /sandbox_ui.lv2/sandbox_slave.h
parentf18ac20e55169a3e8583075ad273a11474a7a2a4 (diff)
downloadsherlock.lv2-bff1a67c95f1340b3845d1a8d9332cb6b4a3b8c4.tar.xz
outsource sandbox_ui functions into own files.
Diffstat (limited to 'sandbox_ui.lv2/sandbox_slave.h')
-rw-r--r--sandbox_ui.lv2/sandbox_slave.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/sandbox_ui.lv2/sandbox_slave.h b/sandbox_ui.lv2/sandbox_slave.h
index bea0b85..321919a 100644
--- a/sandbox_ui.lv2/sandbox_slave.h
+++ b/sandbox_ui.lv2/sandbox_slave.h
@@ -18,12 +18,6 @@
#ifndef _SANDBOX_SLAVE_H
#define _SANDBOX_SLAVE_H
-#ifdef _WIN32
-# define SANDBOX_SYMBOL_EXTERN __declspec(dllexport)
-#else
-# define SANDBOX_SYMBOL_EXTERN __attribute__((visibility("default")))
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -43,31 +37,31 @@ struct _sandbox_slave_driver_t {
sandbox_slave_driver_resize_t resize_cb;
};
-SANDBOX_SYMBOL_EXTERN sandbox_slave_t *
+sandbox_slave_t *
sandbox_slave_new(int argc, char **argv, const sandbox_slave_driver_t *driver, void *data);
-SANDBOX_SYMBOL_EXTERN void
+void
sandbox_slave_free(sandbox_slave_t *sb);
-SANDBOX_SYMBOL_EXTERN int
+int
sandbox_slave_instantiate(sandbox_slave_t *sb, void *parent, void *widget);
-SANDBOX_SYMBOL_EXTERN void
+void
sandbox_slave_recv(sandbox_slave_t *sb);
-SANDBOX_SYMBOL_EXTERN bool
+bool
sandbox_slave_flush(sandbox_slave_t *sb);
-SANDBOX_SYMBOL_EXTERN int
+int
sandbox_slave_idle(sandbox_slave_t *sb);
-SANDBOX_SYMBOL_EXTERN void
+void
sandbox_slave_run(sandbox_slave_t *sb);
-SANDBOX_SYMBOL_EXTERN void
+void
sandbox_slave_fd_get(sandbox_slave_t *sb, int *fd);
-SANDBOX_SYMBOL_EXTERN const char *
+const char *
sandbox_slave_title_get(sandbox_slave_t *sb);
#ifdef __cplusplus