fldefs.h 1.45 KB
Newer Older
thomas's avatar
thomas committed
1
2
3
4
/* 

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

thomas's avatar
thomas committed
5
Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
thomas's avatar
thomas committed
6
7
8
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.  

thomas's avatar
thomas committed
9
10
11
$LastChangedRevision$
$LastChangedDate$
$LastChangedBy$
thomas's avatar
thomas committed
12
13
*/

thomas's avatar
thomas committed
14
/*! \file fldefs.h
thomas's avatar
thomas committed
15
    \brief This file includes all the #define header files 
thomas's avatar
thomas committed
16
*/
thomas's avatar
thomas committed
17

thomas's avatar
thomas committed
18
19
#ifndef __FLEXT_DEFS_H
#define __FLEXT_DEFS_H
thomas's avatar
thomas committed
20

thomas's avatar
thomas committed
21
22
/*! \defgroup FLEXT_DEFS Definitions for basic flext functionality
    @{ 
thomas's avatar
thomas committed
23
24
*/

thomas's avatar
thomas committed
25
/*! \brief Switch for compilation of derived virtual classes
thomas's avatar
thomas committed
26
27
    \remark These need dynamic type casts (and RTTI, naturally)
    \ingroup FLEXT_GLOBALS
thomas's avatar
thomas committed
28
29
*/
#ifdef FLEXT_VIRT
thomas's avatar
thomas committed
30
31
32
33
#define FLEXT_CAST dynamic_cast
#else
#define FLEXT_CAST static_cast
#endif
thomas's avatar
thomas committed
34

thomas's avatar
thomas committed
35
//! @}  FLEXT_DEFS
thomas's avatar
thomas committed
36

thomas's avatar
thomas committed
37
#include "fldefs_hdr.h"
thomas's avatar
thomas committed
38

thomas's avatar
thomas committed
39
#include "fldefs_setup.h"
thomas's avatar
thomas committed
40
41
42
43


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

thomas's avatar
thomas committed
44
45
/*! \defgroup FLEXT_D_METHOD Declarations for flext methods
    @{ 
thomas's avatar
thomas committed
46
47
*/

thomas's avatar
thomas committed
48
49
50
51
52
#include "fldefs_methcb.h"
#include "fldefs_meththr.h"
#include "fldefs_methadd.h"
#include "fldefs_methbind.h"
#include "fldefs_methcall.h"
thomas's avatar
thomas committed
53

thomas's avatar
thomas committed
54
55
//! @} FLEXT_D_METHOD

thomas's avatar
thomas committed
56

thomas's avatar
thomas committed
57

thomas's avatar
thomas committed
58
#ifdef FLEXT_ATTRIBUTES 
thomas's avatar
thomas committed
59

thomas's avatar
thomas committed
60
61
62
/*! \defgroup FLEXT_D_ATTRIB Attribute definition
    \note These have to reside inside the class declaration
    @{ 
thomas's avatar
thomas committed
63
64
*/

thomas's avatar
thomas committed
65
66
67
#include "fldefs_attrcb.h"
#include "fldefs_attrvar.h"
#include "fldefs_attradd.h"
thomas's avatar
thomas committed
68

thomas's avatar
thomas committed
69
70
//! @} FLEXT_D_ATTRIB

thomas's avatar
thomas committed
71
72
#endif // FLEXT_ATTRIBUTES

thomas's avatar
thomas committed
73
#endif // __FLEXT_DEFS_H