Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / synfig_0_61_03 / synfig-core / src / modules / mod_imagemagick / main.cpp
1 /*! ========================================================================
2 ** Synfig
3 ** bleh
4 ** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:11 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 "mptr_imagemagick.h"
35 #include "trgt_imagemagick.h"
36 #endif
37
38 /* === E N T R Y P O I N T ================================================= */
39
40 MODULE_DESC_BEGIN(mod_imagemagick)
41         MODULE_NAME("ImageMagick Module")
42         MODULE_DESCRIPTION("Provides targets and importers for nearly every format that ImageMagick supports")
43         MODULE_AUTHOR("Robert B. Quattlebaum")
44         MODULE_VERSION("1.0")
45         MODULE_COPYRIGHT(SYNFIG_COPYRIGHT)
46 MODULE_DESC_END
47
48 MODULE_INVENTORY_BEGIN(mod_imagemagick)
49         BEGIN_TARGETS
50                 TARGET(imagemagick_trgt)
51                 TARGET_EXT(imagemagick_trgt,"jpg")
52                 TARGET_EXT(imagemagick_trgt,"jpeg")
53                 TARGET_EXT(imagemagick_trgt,"png")
54                 TARGET_EXT(imagemagick_trgt,"tga")
55                 TARGET_EXT(imagemagick_trgt,"tif")
56                 TARGET_EXT(imagemagick_trgt,"tiff")
57                 TARGET_EXT(imagemagick_trgt,"pcx")
58                 TARGET_EXT(imagemagick_trgt,"ps")
59                 TARGET_EXT(imagemagick_trgt,"pdf")
60                 TARGET_EXT(imagemagick_trgt,"pgm")
61                 TARGET_EXT(imagemagick_trgt,"psd")
62                 TARGET_EXT(imagemagick_trgt,"xcf")
63                 TARGET_EXT(imagemagick_trgt,"svg")
64                 TARGET_EXT(imagemagick_trgt,"xpm")
65                 TARGET_EXT(imagemagick_trgt,"miff")
66                 TARGET_EXT(imagemagick_trgt,"eps")
67                 TARGET_EXT(imagemagick_trgt,"cmyk")
68                 TARGET_EXT(imagemagick_trgt,"gif")
69         END_TARGETS
70         BEGIN_IMPORTERS
71                 IMPORTER_EXT(imagemagick_mptr,"jpg")
72                 IMPORTER_EXT(imagemagick_mptr,"jpeg")
73                 IMPORTER_EXT(imagemagick_mptr,"png")
74                 IMPORTER_EXT(imagemagick_mptr,"bmp")
75                 IMPORTER_EXT(imagemagick_mptr,"gif")
76                 IMPORTER_EXT(imagemagick_mptr,"pcx")
77                 IMPORTER_EXT(imagemagick_mptr,"tif")
78                 IMPORTER_EXT(imagemagick_mptr,"tiff")
79                 IMPORTER_EXT(imagemagick_mptr,"tga")
80                 IMPORTER_EXT(imagemagick_mptr,"ps")
81                 IMPORTER_EXT(imagemagick_mptr,"pdf")
82                 IMPORTER_EXT(imagemagick_mptr,"pgm")
83                 IMPORTER_EXT(imagemagick_mptr,"psd")
84                 IMPORTER_EXT(imagemagick_mptr,"xcf")
85                 IMPORTER_EXT(imagemagick_mptr,"svg")
86                 IMPORTER_EXT(imagemagick_mptr,"tim")
87                 IMPORTER_EXT(imagemagick_mptr,"xpm")
88                 IMPORTER_EXT(imagemagick_mptr,"miff")
89                 IMPORTER_EXT(imagemagick_mptr,"ico")
90                 IMPORTER_EXT(imagemagick_mptr,"eps")
91                 IMPORTER_EXT(imagemagick_mptr,"ttf")
92                 IMPORTER_EXT(imagemagick_mptr,"pix")
93                 IMPORTER_EXT(imagemagick_mptr,"rla")
94                 IMPORTER_EXT(imagemagick_mptr,"mat")
95                 IMPORTER_EXT(imagemagick_mptr,"html")
96                 IMPORTER_EXT(imagemagick_mptr,"ept")
97                 IMPORTER_EXT(imagemagick_mptr,"dcm")
98                 IMPORTER_EXT(imagemagick_mptr,"fig")
99         END_IMPORTERS
100 MODULE_INVENTORY_END