aboutsummaryrefslogtreecommitdiff
path: root/src/OSC.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 18:45:39 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-16 18:45:39 +0000
commit9a4263e499b328a6943e75d97358933597d390cb (patch)
tree52bd8073c0992b138003c29e5f0e2c692fde631d /src/OSC.c
parent07e371b1ec2fd16de0cc965b2f935e2aee3ce6ae (diff)
converted OSCx to the Library Template and bumped the version to 0.3.1
svn path=/branches/pd-extended/0.43/externals/oscx/; revision=16399
Diffstat (limited to 'src/OSC.c')
-rw-r--r--src/OSC.c72
1 files changed, 0 insertions, 72 deletions
diff --git a/src/OSC.c b/src/OSC.c
deleted file mode 100644
index 923c097..0000000
--- a/src/OSC.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- OpenSoundControl for PD
- -------------
- -- init jdl at xdv dot org
- -- tweaks for Win32 www.zeggz.com/raf 13-April-2002
- -- smoothed out build, clean up for Darwin <hans@at.or.at> 2004.04.04
- -- shoutz: miller and the others
- -- Windows-ification by Piotr Majdak <piotr@majdak.com> 30.08.2005
-*/
-
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <m_pd.h>
-#include "OSC-common.h"
-
-#define VERSION "0.3"
-
-/* this is for when building with non-Microsoft compilers */
-#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);
- error("OSCx is deprecated! consider switching to mrpeach's osc & net objects");
- return (x);
-}
-
-
-OSC_API void OSC_version (t_OSC *x) {
-
- post("OSC4PD Version " VERSION "\n"
- " Original code by matt wright. pd-fication jdl@xdv.org\n"
- " Win32-port raf@interaccess.com unified versions hans@at.or.at\n"
- " Adaptations for Windows: piotr@majdak.com\n"
- " Compiled: "__DATE__);
-}
-
-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__ " -- adapted by piotr@majdak.com");
-
- error("OSCx is deprecated - ask IOhannes m zmoelnig why...");
-}