File: fldefs.h

package info (click to toggle)
pd-flext 0.6.0%2Bgit20161101.1.01318a94-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,212 kB
  • ctags: 1,846
  • sloc: cpp: 13,015; makefile: 735; sh: 85
file content (68 lines) | stat: -rw-r--r-- 1,414 bytes parent folder | download | duplicates (6)
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
/*
flext - C++ layer for Max and Pure Data externals

Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
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