1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  *  Copyright (C) 2006-2009 Kouhei Sutou <kou@clear-code.com>
4  *
5  *  This library is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Lesser General Public License as published by
7  *  the Free Software Foundation, either version 3 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This library 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
13  *  GNU Lesser General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Lesser General Public License
16  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  *
18  */
19 
20 #ifndef __CUT_MODULE_IMPL_H__
21 #define __CUT_MODULE_IMPL_H__
22 
23 #include <glib-object.h>
24 
25 G_BEGIN_DECLS
26 
27 #include "cut-module.h"
28 
29 typedef GList   *(*CutModuleInitFunc)         (GTypeModule *module);
30 typedef void     (*CutModuleExitFunc)         (void);
31 typedef GObject *(*CutModuleInstantiateFunc)  (const gchar *first_property,
32                                                va_list      var_args);
33 
34 #define CUT_MODULE_IMPL_INIT           cut_module_impl_init
35 #define CUT_MODULE_IMPL_EXIT           cut_module_impl_exit
36 #define CUT_MODULE_IMPL_INSTANTIATE    cut_module_impl_instantiate
37 
38 G_MODULE_EXPORT GList   *CUT_MODULE_IMPL_INIT        (GTypeModule  *module);
39 G_MODULE_EXPORT void     CUT_MODULE_IMPL_EXIT        (void);
40 G_MODULE_EXPORT GObject *CUT_MODULE_IMPL_INSTANTIATE (const gchar *first_property,
41                                                       va_list      var_args);
42 
43 G_END_DECLS
44 
45 #endif /* __CUT_MODULE_IMPL_H__ */
46 
47 /*
48 vi:nowrap:ai:expandtab:sw=4
49 */
50