1 /*
2  *  caja-module.h - Interface to caja extensions
3  *
4  *  Copyright (C) 2003 Novell, Inc.
5  *
6  *  This library is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU Library 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 Library 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: Dave Camp <dave@ximian.com>
21  *
22  */
23 
24 #ifndef CAJA_MODULE_H
25 #define CAJA_MODULE_H
26 
27 #include <glib-object.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33     void   caja_module_setup                   (void);
34     GList *caja_module_get_extensions_for_type (GType  type);
35     void   caja_module_extension_list_free     (GList *list);
36 
37 
38     /* Add a type to the module interface - allows caja to add its own modules
39      * without putting them in separate shared libraries */
40     GObject *caja_module_add_type              (GType  type);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
47