45a7c5f4b0a1e800067324c2cf8c1941b0bafc5f
[synfig.git] / synfig-core / trunk / src / modules / example / main.cpp
1 /* === S Y N F I G ========================================================= */
2 /*!     \file example/main.cpp
3 **      \brief Template Header
4 **
5 **      \legal
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 **      \endlegal
18 **
19 ** === N O T E S ===========================================================
20 **
21 ** ========================================================================= */
22
23 /* === H E A D E R S ======================================================= */
24
25 #define SYNFIG_MODULE
26
27 #ifdef USING_PCH
28 #       include "pch.h"
29 #else
30 #ifdef HAVE_CONFIG_H
31 #       include <config.h>
32 #endif
33
34 #include <synfig/module.h>
35 #include <synfig/canvas.h>
36 #include <synfig/string.h>
37 #include "simplecircle.h"
38 #include "filledrect.h"
39 #include "metaballs.h"
40
41 #endif
42
43 /* === E N T R Y P O I N T ================================================= */
44
45 MODULE_DESC_BEGIN(example)
46         MODULE_NAME("Example Module")
47         MODULE_DESCRIPTION("A dummy module that serves as a starting point for writing other modules.")
48         MODULE_AUTHOR("Robert B. Quattlebaum")
49         MODULE_VERSION("1.0")
50         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
51 MODULE_DESC_END
52
53 MODULE_INVENTORY_BEGIN(example)
54         BEGIN_LAYERS
55                 //LAYER(SimpleCircle)
56                 //LAYER(FilledRect)
57                 //LAYER(Metaballs)
58         END_LAYERS
59 MODULE_INVENTORY_END