supernova: c++11 compile fix
[supercollider.git] / platform / mac / SuperColliderAU / Source / OSCMessages.h
blobff4703cffa07a844ad5003fa84f4fe4cadf433f7
1 /*
2 SuperColliderAU Copyright (c) 2006 Gerard Roma.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef _OSCMessages_
20 #define _OSCMessages_
21 #include "scsynthsend.h"
22 #include <CoreFoundation/CFString.h>
24 static int kDefaultNodeId = 1000;
26 class OSCMessages {
27 public:
28 OSCMessages();
29 char* initTree;
30 char* synthDef;
31 size_t parameterMessage(small_scpacket *packet,CFStringRef name, float value);
32 size_t createSynthMessage(small_scpacket *packet, CFStringRef name);
33 small_scpacket sendTickMessage(int64 oscTime, int bus);
34 small_scpacket initTreeMessage();
35 small_scpacket quitMessage();
36 small_scpacket noteMessage(int64 oscTime, int note, int velocity);
38 #endif