2008-02-29 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / libnautilus-private / nautilus-module.h
blob8c26b73e19c3323d83e51d10aeba96fbc6ac9dd0
1 /*
2 * nautilus-module.h - Interface to nautilus extensions
3 *
4 * Copyright (C) 2003 Novell, Inc.
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.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA.
20 * Author: Dave Camp <dave@ximian.com>
24 #ifndef NAUTILUS_MODULE_H
25 #define NAUTILUS_MODULE_H
27 #include <glib-object.h>
29 G_BEGIN_DECLS
31 void nautilus_module_init (void);
32 GList *nautilus_module_get_extensions_for_type (GType type);
33 void nautilus_module_extension_list_free (GList *list);
36 /* Add a type to the module interface - allows nautilus to add its own modules
37 * without putting them in separate shared libraries */
38 void nautilus_module_add_type (GType type);
40 G_END_DECLS
42 #endif