"Post Window" -> "Post window" prevents it being seen as two separate
[supercollider.git] / include / plugin_interface / SC_PlugIn.h
blobdfc3b67c207bc88cb3ef8a331a2d0c8905152955
1 /*
2 SuperCollider real time audio synthesis system
3 Copyright (c) 2002 James McCartney. All rights reserved.
4 http://www.audiosynth.com
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef SC_PLUGIN_H
22 #define SC_PLUGIN_H
24 #include "SC_World.h"
25 #include "SC_Graph.h"
26 #include "SC_Unit.h"
27 #include "SC_Wire.h"
28 #include "SC_InterfaceTable.h"
29 #include "Unroll.h"
30 #include "SC_InlineUnaryOp.h"
31 #include "SC_InlineBinaryOp.h"
32 #include "SC_BoundsMacros.h"
33 #include "SC_RGen.h"
34 #include "SC_DemandUnit.h"
35 #include "clz.h"
36 #include "sc_msg_iter.h"
37 #include <stdlib.h>
38 #include "SC_Alloca.h"
40 #ifdef _WIN32
42 // temporarily override __attribute__ for (unused), later we'll remove it
43 #ifndef __GNUC__
44 #define __attribute__(x)
45 #endif
48 #ifndef NAN // NAN is c99
49 #include <limits>
50 #define NAN std::numeric_limits<float>::quiet_NaN()
51 #endif
53 // windows.h defines min() and max() macros which break things such as
54 // std::numeric_limits<int32>::max() - so let's undefine them
55 #undef max
56 #undef min
58 #endif
60 #endif /* SC_PLUGIN_H */