aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/fldefs.h
blob: 4f8a4264a8003f4dafda7db015c83c8b0d04c029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* 

flext - C++ layer for Max/MSP and pd (pure data) externals

Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.  

*/

/*! \file fldefs.h
    \brief This file includes all the #define header files 
*/

#ifndef __FLEXT_DEFS_H
#define __FLEXT_DEFS_H

/*! \defgroup FLEXT_DEFS Definitions for basic flext functionality
    @{ 
*/

/*! \brief Switch for compilation of derived virtual classes
    \remark These need dynamic type casts (and RTTI, naturally)
    \ingroup FLEXT_GLOBALS
*/
#ifdef FLEXT_VIRT
#define FLEXT_CAST dynamic_cast
#else
#define FLEXT_CAST static_cast
#endif

//! @}  FLEXT_DEFS

#include "fldefs_hdr.h"

#include "fldefs_setup.h"


// ====================================================================================

/*! \defgroup FLEXT_D_METHOD Declarations for flext methods
    @{ 
*/

#include "fldefs_methcb.h"
#include "fldefs_meththr.h"
#include "fldefs_methadd.h"
#include "fldefs_methbind.h"
#include "fldefs_methcall.h"

//! @} FLEXT_D_METHOD



#ifdef FLEXT_ATTRIBUTES 

/*! \defgroup FLEXT_D_ATTRIB Attribute definition
    \note These have to reside inside the class declaration
    @{ 
*/

#include "fldefs_attrcb.h"
#include "fldefs_attrvar.h"
#include "fldefs_attradd.h"

//! @} FLEXT_D_ATTRIB

#endif // FLEXT_ATTRIBUTES

#endif // __FLEXT_DEFS_H