Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / modules / mod_gradient / main.cpp
1 /* === S Y N F I G ========================================================= */
2 /*!     \file mod_gradient/main.cpp
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **
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.
14 **
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.
19 **      \endlegal
20 **
21 ** === N O T E S ===========================================================
22 **
23 ** ========================================================================= */
24
25 /* === H E A D E R S ======================================================= */
26
27 #define SYNFIG_MODULE
28
29 #ifdef USING_PCH
30 #       include "pch.h"
31 #else
32 #ifdef HAVE_CONFIG_H
33 #       include <config.h>
34 #endif
35
36 #include <synfig/module.h>
37 #include <synfig/string.h>
38 #include <synfig/canvas.h>
39
40 #include "lineargradient.h"
41 #include "radialgradient.h"
42 #include "conicalgradient.h"
43 #include "spiralgradient.h"
44 #include "curvegradient.h"
45
46 #endif
47
48 /* === E N T R Y P O I N T ================================================= */
49
50 MODULE_DESC_BEGIN(libmod_gradient)
51         MODULE_NAME("Gradient")
52         MODULE_DESCRIPTION("Writeme")
53         MODULE_AUTHOR("Robert B. Quattlebaum")
54         MODULE_VERSION("1.0")
55         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
56 MODULE_DESC_END
57
58 MODULE_INVENTORY_BEGIN(libmod_gradient)
59         BEGIN_LAYERS
60                 LAYER(LinearGradient)
61                 LAYER(RadialGradient)
62                 LAYER(ConicalGradient)
63                 LAYER(SpiralGradient)
64                 LAYER(CurveGradient)
65         END_LAYERS
66 MODULE_INVENTORY_END