Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / synfig_0_61_07 / src / modules / mod_geometry / main.cpp
1 /* === S Y N F I G ========================================================= */
2 /*!     \file mod_geometry/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 "checkerboard.h"
41 #include "circle.h"
42 #include "region.h"
43 #include "outline.h"
44 #include "star.h"
45 #include "rectangle.h"
46
47 #endif
48
49 /* === E N T R Y P O I N T ================================================= */
50
51 MODULE_DESC_BEGIN(libmod_geometry)
52         MODULE_NAME("Geometry")
53         MODULE_DESCRIPTION("writeme")
54         MODULE_AUTHOR("Robert B. Quattlebaum")
55         MODULE_VERSION("1.0")
56         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
57 MODULE_DESC_END
58
59 MODULE_INVENTORY_BEGIN(libmod_geometry)
60         BEGIN_LAYERS
61                 LAYER(CheckerBoard)
62                 LAYER(Circle)
63                 LAYER(Region)
64                 LAYER(Outline)
65                 LAYER(Star)
66                 LAYER(Rectangle)
67
68                 LAYER_ALIAS(Outline,"BLine")
69                 LAYER_ALIAS(Outline,"Bezier")
70                 LAYER_ALIAS(Region,"Region")
71                 LAYER_ALIAS(Circle,"Circle")
72                 LAYER_ALIAS(CheckerBoard,"CheckerBoard")
73
74         END_LAYERS
75 MODULE_INVENTORY_END