X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fsynfig.h;fp=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fsynfig.h;h=7d6b013ab293ca16ce5d0d1be4def09fc2cb8211;hb=28f28705612902c15cd0702cc891fba35bf2d2df;hp=0000000000000000000000000000000000000000;hpb=2c43cbfff01496919316f600ee76112be551392d;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/synfig.h b/synfig-core/trunk/src/synfig/synfig.h new file mode 100644 index 0000000..7d6b013 --- /dev/null +++ b/synfig-core/trunk/src/synfig/synfig.h @@ -0,0 +1,137 @@ +/* === S Y N F I G ========================================================= */ +/*! \file synfig.h +** \brief Primary Header for Synfig +** +** $Id: synfig.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +** +** \legal +** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** +** This software and associated documentation +** are CONFIDENTIAL and PROPRIETARY property of +** the above-mentioned copyright holder. +** +** You may not copy, print, publish, or in any +** other way distribute this software without +** a prior written agreement with +** the copyright holder. +** \endlegal +*/ +/* ========================================================================= */ + +/* === S T A R T =========================================================== */ + +#ifndef __SYNFIG__ +#define __SYNFIG__ + +#ifndef __cplusplus +#error Sorry, Synfig only supports C++ at this time. See README for details. +#endif + +#warning The use of this header is deprecated. Please use the individual header files. + +/* === M A C R O S ========================================================= */ + +/*! \def SYNFIG_LEAN +** \brief Define this to remove unused features, speeding up compile time. +** +** Define SYNFIG_LEAN if your plug-in +** or program doesn't use the synfig::Angle class +** or the rendering subsystem. This can speed up +** compiles. You may also wish to individualy +** use the macros SYNFIG_NO_ANGLE and +** SYNFIG_NO_RENDER. +** \see SYNFIG_NO_ANGLE, SYNFIG_NO_RENDER +*/ +#ifdef SYNFIG_LEAN +# ifndef SYNFIG_NO_ANGLE +# define SYNFIG_NO_ANGLE +# endif +# ifndef SYNFIG_NO_RENDER +# define SYNFIG_NO_RENDER +# endif +#endif + +/*! \def SYNFIG_LAYER +** The SYNFIG_LAYER macro is useful for when you +** are compiling layers, and can help to improve +** build time. +*/ +#ifdef SYNFIG_LAYER +# ifndef SYNFIG_NO_RENDER +# define SYNFIG_NO_RENDER +# endif +# define SYNFIG_NO_LOADSAVE +#endif + +/*! \def SYNFIG_TARGET +** The SYNFIG_TARGET macro is useful for when you +** are compiling render targets, and can help to +** improve build time. +*/ +#ifdef SYNFIG_TARGET +# ifdef SYNFIG_NO_RENDER +# error You defined SYNFIG_TARGET, but also SYNFIG_NO_RENDER. This doesnt make sense. +# endif +# ifndef SYNFIG_NO_ANGLE +# define SYNFIG_NO_ANGLE +# endif +# define SYNFIG_NO_LOADSAVE +#endif + +/*! \def SYNFIG_MODULE +** \todo Writeme +*/ +#ifdef SYNFIG_MODULE +# define SYNFIG_NO_LOADSAVE +#endif + +/*! \namespace synfig +** \brief Where every function and class of the synfig library can be found +** \todo Writeme +*/ + +/* === H E A D E R S ======================================================= */ + +#include "version.h" +#include "general.h" +#include "module.h" +#include "color.h" +#include "canvas.h" +#include "layer.h" +#include "vector.h" +#include "types.h" +#include "segment.h" + +#ifndef SYNFIG_NO_RENDER +# include "render.h" +#endif + +#ifndef SYNFIG_LAYER +#include "target.h" +#endif + +#include "valuenode.h" +#include "valuenode_subtract.h" +//#include "valuenode_animated.h" +#include "valuenode_composite.h" +#include "valuenode_const.h" +#include "valuenode_linear.h" +#include "valuenode_dynamiclist.h" +#include "valuenode_reference.h" + +#ifndef SYNFIG_NO_LOADSAVE +# include "savecanvas.h" +# include "loadcanvas.h" +#endif + +#include "importer.h" +#include "surface.h" + +#include "string.h" + +/* === C L A S S E S & S T R U C T S ======================================= */ + +/* === E N D =============================================================== */ + +#endif