Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / synfig_0_61_04 / synfig-core / src / modules / mod_geometry / main.cpp
1 /*! ========================================================================
2 ** Synfig
3 ** bleh
4 ** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
5 **
6 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
7 **
8 **      This package is free software; you can redistribute it and/or
9 **      modify it under the terms of the GNU General Public License as
10 **      published by the Free Software Foundation; either version 2 of
11 **      the License, or (at your option) any later version.
12 **
13 **      This package is distributed in the hope that it will be useful,
14 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
15 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 **      General Public License for more details.
17 **
18 ** === N O T E S ===========================================================
19 **
20 ** ========================================================================= */
21
22 /* === H E A D E R S ======================================================= */
23
24 #define SYNFIG_MODULE
25
26 #ifdef USING_PCH
27 #       include "pch.h"
28 #else
29 #ifdef HAVE_CONFIG_H
30 #       include <config.h>
31 #endif
32
33 #include <synfig/module.h>
34 #include <synfig/string.h>
35 #include <synfig/canvas.h>
36
37 #include "checkerboard.h"
38 #include "circle.h"
39 #include "region.h"
40 #include "outline.h"
41 #include "star.h"
42 #include "rectangle.h"
43
44 #endif
45
46 /* === E N T R Y P O I N T ================================================= */
47
48 MODULE_DESC_BEGIN(libmod_geometry)
49         MODULE_NAME("Geometry")
50         MODULE_DESCRIPTION("writeme")
51         MODULE_AUTHOR("Robert B. Quattlebaum")
52         MODULE_VERSION("1.0")
53         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
54 MODULE_DESC_END
55
56 MODULE_INVENTORY_BEGIN(libmod_geometry)
57         BEGIN_LAYERS
58                 LAYER(CheckerBoard)
59                 LAYER(Circle)
60                 LAYER(Region)
61                 LAYER(Outline)
62                 LAYER(Star)
63                 LAYER(Rectangle)
64
65                 LAYER_ALIAS(Outline,"BLine")
66                 LAYER_ALIAS(Outline,"Bezier")
67                 LAYER_ALIAS(Region,"Region")
68                 LAYER_ALIAS(Circle,"Circle")
69                 LAYER_ALIAS(CheckerBoard,"CheckerBoard")
70
71         END_LAYERS
72 MODULE_INVENTORY_END