Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / modules / mod_noise / main.cpp
1 /* === S Y N F I G ========================================================= */
2 /*!     \file mod_noise/main.cpp
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **      Copyright (c) 2007, 2008 Chris Moore
10 **
11 **      This package is free software; you can redistribute it and/or
12 **      modify it under the terms of the GNU General Public License as
13 **      published by the Free Software Foundation; either version 2 of
14 **      the License, or (at your option) any later version.
15 **
16 **      This package is distributed in the hope that it will be useful,
17 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
18 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 **      General Public License for more details.
20 **      \endlegal
21 **
22 ** === N O T E S ===========================================================
23 **
24 ** ========================================================================= */
25
26 /* === H E A D E R S ======================================================= */
27
28 #define SYNFIG_MODULE
29
30 #ifdef USING_PCH
31 #       include "pch.h"
32 #else
33 #ifdef HAVE_CONFIG_H
34 #       include <config.h>
35 #endif
36
37 #include <synfig/module.h>
38 #include <synfig/string.h>
39 #include <synfig/canvas.h>
40 #include <synfig/valuenode.h>
41
42 #include "noise.h"
43 #include "distort.h"
44 #include "random.h"
45 #include "valuenode_random.h"
46
47 #endif
48
49 /* === E N T R Y P O I N T ================================================= */
50
51 MODULE_DESC_BEGIN(libmod_noise)
52         MODULE_NAME("Noise")
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_noise)
60         BEGIN_LAYERS
61                 LAYER(Noise)
62                 LAYER(NoiseDistort)
63         END_LAYERS
64
65         BEGIN_VALUENODES
66                 VALUENODE(synfig::ValueNode_Random, "random", _("Random"), synfig::RELEASE_VERSION_0_61_08) // SVN r907
67         END_VALUENODES
68 MODULE_INVENTORY_END