1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-data-server-module.h
4 * Copyright (C) 2004 Novell, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
20 * Author: Chris Toshok <toshok@ximian.com>
23 #ifndef _E_DATA_SERVER_MODULE_H
24 #define _E_DATA_SERVER_MODULE_H
26 #include <glib-object.h>
30 void e_data_server_module_init (void);
31 GList *e_data_server_get_extensions_for_type (GType type);
32 void e_data_server_extension_list_free (GList *list);
34 /* Add a type to the module interface - allows EDS to add its own modules
35 * without putting them in separate shared libraries */
36 void e_data_server_module_add_type (GType type);
38 /* The following three functions should exist in modules that are
39 written to be dynamically loaded */
40 void eds_module_initialize (GTypeModule *module);
41 void eds_module_shutdown (void);
42 void eds_module_list_types (const GType **types, int *num_types);
46 #endif /* _E_DATA_SERVER_MODULE_H */