summaryrefslogtreecommitdiff
path: root/desktop/server.h
diff options
context:
space:
mode:
authorch1p <ch1p@ch1p.com>2013-12-29 17:43:49 +0200
committerch1p <ch1p@ch1p.com>2013-12-29 17:58:09 +0200
commitbdc7ff9d08b2f4030e0c27c7752c4bdf2fed6172 (patch)
tree05f298f71867f7896598fad59f11c10e42c126e2 /desktop/server.h
parent8bd03b4f9c56e12542096e7b946ff196c3e394c2 (diff)
initial commit
Diffstat (limited to 'desktop/server.h')
-rw-r--r--desktop/server.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/server.h b/desktop/server.h
new file mode 100644
index 0000000..1b7af3f
--- /dev/null
+++ b/desktop/server.h
@@ -0,0 +1,14 @@
+#include <pthread.h>
+
+#ifndef SERVER_H__
+#define SERVER_H__
+
+enum server_last_cmd_enum {
+ NONE = 0, PLAY, PAUSE, NEXT, PREV
+};
+extern enum server_last_cmd_enum server_last_cmd;
+extern pthread_mutex_t server_last_cmd_mutex;
+
+void server_init();
+
+#endif