aboutsummaryrefslogtreecommitdiff
path: root/osc_server.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-27 02:12:53 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-27 02:12:53 +0200
commit26a1e2f3faecde5cc868b00ed08209c4a32eef3a (patch)
treefb6da34d91067c45fe1997eb6091ca0f4c9e3326 /osc_server.h
parent857dee414b4e14d5053a659820ad0832bcd81668 (diff)
downloadosc-graphics-26a1e2f3faecde5cc868b00ed08209c4a32eef3a.tar.gz
support command line arguments
don't use getopt() since it's not in msvcrt
Diffstat (limited to 'osc_server.h')
-rw-r--r--osc_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/osc_server.h b/osc_server.h
index 2380028..3244096 100644
--- a/osc_server.h
+++ b/osc_server.h
@@ -45,9 +45,10 @@ public:
typedef Layer *(*CtorHandlerCb)(const char *name, SDL_Rect geo,
float alpha, lo_arg **argv);
- OSCServer(const char *port);
~OSCServer();
+ void open(const char *port);
+
inline void
start()
{