1 /*
2  *  image-converter.c
3  *
4  *  Copyright (C) 2004-2005 Jürg Billeter
5  *
6  *  This library is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU General Public
8  *  License as published by the Free Software Foundation; either
9  *  version 2 of the License, or (at your option) any later version.
10  *
11  *  This library is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  *  Library General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public
17  *  License along with this library; if not, write to the Free
18  *  Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19  *
20  *  Author: Jürg Billeter <j@bitron.ch>
21  *
22  */
23 
24 #ifdef HAVE_CONFIG_H
25 #include <config.h>
26 #endif
27 
28 #include <glib/gi18n-lib.h>
29 
30 #include "caja-image-converter.h"
31 
32 static GType type_list[1];
33 
34 void
caja_module_initialize(GTypeModule * module)35 caja_module_initialize (GTypeModule *module)
36 {
37 	g_print ("Initializing caja-image-converter extension\n");
38 
39 	caja_image_converter_register_type (module);
40 	type_list[0] = CAJA_TYPE_IMAGE_CONVERTER;
41 }
42 
43 void
caja_module_shutdown(void)44 caja_module_shutdown (void)
45 {
46 	g_print ("Shutting down caja-image-converter extension\n");
47 }
48 
49 void
caja_module_list_types(const GType ** types,int * num_types)50 caja_module_list_types (const GType **types,
51 			    int          *num_types)
52 {
53 	*types = type_list;
54 	*num_types = G_N_ELEMENTS (type_list);
55 }
56