1 /* === S Y N F I G ========================================================= */
3 ** \brief Primary Header for Synfig
5 ** $Id: synfig.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
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 ========================================================= */
37 ** \brief Define this to remove unused features, speeding up compile time.
39 ** Define SYNFIG_LEAN if your plug-in
40 ** or program doesn't use the synfig::Angle class
41 ** or the rendering subsystem. This can speed up
42 ** compiles. You may also wish to individualy
43 ** use the macros SYNFIG_NO_ANGLE and
45 ** \see SYNFIG_NO_ANGLE, SYNFIG_NO_RENDER
48 # ifndef SYNFIG_NO_ANGLE
49 # define SYNFIG_NO_ANGLE
51 # ifndef SYNFIG_NO_RENDER
52 # define SYNFIG_NO_RENDER
57 ** The SYNFIG_LAYER macro is useful for when you
58 ** are compiling layers, and can help to improve
62 # ifndef SYNFIG_NO_RENDER
63 # define SYNFIG_NO_RENDER
65 # define SYNFIG_NO_LOADSAVE
68 /*! \def SYNFIG_TARGET
69 ** The SYNFIG_TARGET macro is useful for when you
70 ** are compiling render targets, and can help to
71 ** improve build time.
74 # ifdef SYNFIG_NO_RENDER
75 # error You defined SYNFIG_TARGET, but also SYNFIG_NO_RENDER. This doesnt make sense.
77 # ifndef SYNFIG_NO_ANGLE
78 # define SYNFIG_NO_ANGLE
80 # define SYNFIG_NO_LOADSAVE
83 /*! \def SYNFIG_MODULE
87 # define SYNFIG_NO_LOADSAVE
91 ** \brief Where every function and class of the synfig library can be found
95 /* === H E A D E R S ======================================================= */
107 #ifndef SYNFIG_NO_RENDER
115 #include "valuenode.h"
116 #include "valuenode_subtract.h"
117 //#include "valuenode_animated.h"
118 #include "valuenode_composite.h"
119 #include "valuenode_const.h"
120 #include "valuenode_linear.h"
121 #include "valuenode_dynamiclist.h"
122 #include "valuenode_reference.h"
124 #ifndef SYNFIG_NO_LOADSAVE
125 # include "savecanvas.h"
126 # include "loadcanvas.h"
129 #include "importer.h"
134 /* === C L A S S E S & S T R U C T S ======================================= */
136 /* === E N D =============================================================== */