1 /* === S Y N F I G ========================================================= */
3 ** \brief Primary Header for Synfig
8 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
10 ** This package is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU General Public License as
12 ** published by the Free Software Foundation; either version 2 of
13 ** the License, or (at your option) any later version.
15 ** This package is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** General Public License for more details.
21 /* ========================================================================= */
23 /* === S T A R T =========================================================== */
29 #error Sorry, Synfig only supports C++ at this time. See README for details.
32 #warning The use of this header is deprecated. Please use the individual header files.
34 /* === M A C R O S ========================================================= */
39 ** \brief Define this to remove unused features, speeding up compile time.
41 ** Define SYNFIG_LEAN if your plug-in
42 ** or program doesn't use the synfig::Angle class
43 ** or the rendering subsystem. This can speed up
44 ** compiles. You may also wish to individually
45 ** use the macros SYNFIG_NO_ANGLE and
47 ** \see SYNFIG_NO_ANGLE, SYNFIG_NO_RENDER
50 # ifndef SYNFIG_NO_ANGLE
51 # define SYNFIG_NO_ANGLE
53 # ifndef SYNFIG_NO_RENDER
54 # define SYNFIG_NO_RENDER
59 ** The SYNFIG_LAYER macro is useful for when you
60 ** are compiling layers, and can help to improve
64 # ifndef SYNFIG_NO_RENDER
65 # define SYNFIG_NO_RENDER
67 # define SYNFIG_NO_LOADSAVE
70 /*! \def SYNFIG_TARGET
71 ** The SYNFIG_TARGET macro is useful for when you
72 ** are compiling render targets, and can help to
73 ** improve build time.
76 # ifdef SYNFIG_NO_RENDER
77 # error You defined SYNFIG_TARGET, but also SYNFIG_NO_RENDER. This doesn't make sense.
79 # ifndef SYNFIG_NO_ANGLE
80 # define SYNFIG_NO_ANGLE
82 # define SYNFIG_NO_LOADSAVE
85 /*! \def SYNFIG_MODULE
89 # define SYNFIG_NO_LOADSAVE
93 ** \brief Where every function and class of the synfig library can be found
97 /* === H E A D E R S ======================================================= */
109 #ifndef SYNFIG_NO_RENDER
117 #include "valuenode.h"
118 #include "valuenode_subtract.h"
119 //#include "valuenode_animated.h"
120 #include "valuenode_composite.h"
121 #include "valuenode_const.h"
122 #include "valuenode_linear.h"
123 #include "valuenode_dynamiclist.h"
124 #include "valuenode_reference.h"
126 #ifndef SYNFIG_NO_LOADSAVE
127 # include "savecanvas.h"
128 # include "loadcanvas.h"
131 #include "importer.h"
136 /* === C L A S S E S & S T R U C T S ======================================= */
138 /* === E N D =============================================================== */