synfig-core  1.0.3
synfig.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
21 /* ========================================================================= */
22 
23 /* === S T A R T =========================================================== */
24 
25 #ifndef __SYNFIG__
26 #define __SYNFIG__
27 
28 #ifndef __cplusplus
29 #error Sorry, Synfig only supports C++ at this time. See README for details.
30 #endif
31 
32 #warning The use of this header is deprecated. Please use the individual header files.
33 
34 /* === M A C R O S ========================================================= */
35 
36 #define SYNFIG_LEAN
37 #undef SYNFIG_LEAN
38 
49 #ifdef SYNFIG_LEAN
50 # ifndef SYNFIG_NO_ANGLE
51 # define SYNFIG_NO_ANGLE
52 # endif
53 # ifndef SYNFIG_NO_RENDER
54 # define SYNFIG_NO_RENDER
55 # endif
56 #endif
57 
63 #ifdef SYNFIG_LAYER
64 # ifndef SYNFIG_NO_RENDER
65 # define SYNFIG_NO_RENDER
66 # endif
67 # define SYNFIG_NO_LOADSAVE
68 #endif
69 
75 #ifdef SYNFIG_TARGET
76 # ifdef SYNFIG_NO_RENDER
77 # error You defined SYNFIG_TARGET, but also SYNFIG_NO_RENDER. This does not make sense.
78 # endif
79 # ifndef SYNFIG_NO_ANGLE
80 # define SYNFIG_NO_ANGLE
81 # endif
82 # define SYNFIG_NO_LOADSAVE
83 #endif
84 
88 #ifdef SYNFIG_MODULE
89 # define SYNFIG_NO_LOADSAVE
90 #endif
91 
97 /* === H E A D E R S ======================================================= */
98 
99 #include "version.h"
100 #include "general.h"
101 #include "module.h"
102 #include "color.h"
103 #include "canvas.h"
104 #include "layer.h"
105 #include "vector.h"
106 #include "types.h"
107 #include "segment.h"
108 
109 #ifndef SYNFIG_NO_RENDER
110 # include "render.h"
111 #endif
112 
113 #ifndef SYNFIG_LAYER
114 #include "target.h"
115 #endif
116 
117 #include "valuenode.h"
119 //#include "valuenodes/valuenode_animated.h"
125 
126 #ifndef SYNFIG_NO_LOADSAVE
127 # include "savecanvas.h"
128 # include "loadcanvas.h"
129 #endif
130 
131 #include "importer.h"
132 #include "surface.h"
133 
134 #include "string.h"
135 
136 /* === C L A S S E S & S T R U C T S ======================================= */
137 
138 /* === E N D =============================================================== */
139 
140 #endif