aboutsummaryrefslogtreecommitdiff
path: root/OSC/OSC.c
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2004-03-10 17:35:28 +0000
committerjdl <x75@users.sourceforge.net>2004-03-10 17:35:28 +0000
commit0812d2e537fd1513dcbf32be2660de68d0f9253b (patch)
treed7f7a05fd6921a4d5ca14d66f8594d7383f0710e /OSC/OSC.c
parent4d9740fcec4ffc2b740cd2b86be32abb77cf265c (diff)
all files moved to src folder
svn path=/trunk/externals/OSCx/; revision=1404
Diffstat (limited to 'OSC/OSC.c')
-rw-r--r--OSC/OSC.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/OSC/OSC.c b/OSC/OSC.c
deleted file mode 100644
index 8a85566..0000000
--- a/OSC/OSC.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
-
- pd
- -------------
- -- tweaks for Win32 www.zeggz.com/raf 13-April-2002
-
-*/
-
-
-#include <m_pd.h>
-#include "OSC-common.h"
-
-#define VERSION "0.2"
-
-#ifndef OSC_API
-#define OSC_API
-#endif
-
-typedef struct _OSC
-{
- t_object x_obj;
-} t_OSC;
-
-
-OSC_API void OSC_setup(void);
-OSC_API void OSC_version(t_OSC*);
-OSC_API void sendOSC_setup(void);
-OSC_API void dumpOSC_setup(void);
-OSC_API void OSCroute_setup(void);
-
-static t_class* OSC_class;
-
-
-static void* OSC_new(t_symbol* s) {
- t_OSC *x = (t_OSC *)pd_new(OSC_class);
- return (x);
-}
-
-
-OSC_API void OSC_version (t_OSC *x) {
-
- // EnterCallback();
- post("OSC4PD Version " VERSION
- "\n ¯\\ original code by matt wright. pd-fication jdl@xdv.org\n"
- " · Win32-port raf@interaccess.com\n \\_ Compiled " __TIME__ " " __DATE__);
- // ExitCallback();
-}
-
-OSC_API void OSC_setup(void) {
- OSC_class = class_new(gensym("OSC"), (t_newmethod)OSC_new, 0,
- sizeof(t_OSC), 0,0);
- class_addmethod(OSC_class, (t_method)OSC_version, gensym("version"), A_NULL, 0, 0);
-
- sendOSC_setup();
- dumpOSC_setup();
- OSCroute_setup();
-
- post("O : Open Sound Control 4 PD, http://www.cnmat.berkeley.edu/OSC");
- post(" S : original code by matt wright, pd hakcs cxc, Win32-port raf@interaccess.com");
- post(" C: ver: "VERSION ", compiled: "__DATE__);
-}