|
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
|
2 /* |
|
3 * Copyright (C) 2008 Imendio AB |
|
4 * |
|
5 * This program is free software; you can redistribute it and/or |
|
6 * modify it under the terms of the GNU Lesser General Public License as |
|
7 * published by the Free Software Foundation; either version 2 of the |
|
8 * License, or (at your option) any later version. |
|
9 * |
|
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 * Lesser General Public License for more details. |
|
14 * |
|
15 * You should have received a copy of the GNU Lesser 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. |
|
19 */ |
|
20 |
|
21 #ifndef __LM_IDUMMY_H__ |
|
22 #define __LM_IDUMMY_H__ |
|
23 |
|
24 #include <glib-object.h> |
|
25 |
|
26 G_BEGIN_DECLS |
|
27 |
|
28 #define LM_TYPE_IDUMMY (lm_idummy_get_type()) |
|
29 #define LM_IDUMMY(o) (G_TYPE_CHECK_INSTANCE_CAST((o), LM_TYPE_IDUMMY, LmIDummy)) |
|
30 #define LM_IS_IDUMMY(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), LM_TYPE_IDUMMY)) |
|
31 #define LM_IDUMMY_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE((o), LM_TYPE_IDUMMY, LmIDummyIface)) |
|
32 |
|
33 typedef struct _LmIDummy LmIDummy; |
|
34 typedef struct _LmIDummyIface LmIDummyIface; |
|
35 |
|
36 struct _LmIDummyIface { |
|
37 GTypeInterface parent; |
|
38 |
|
39 /* <vtable> */ |
|
40 int (*function) (LmIDummy *idummy); |
|
41 }; |
|
42 |
|
43 GType lm_idummy_get_type (void); |
|
44 |
|
45 gint lm_idummy_function (LmIDummy *idummy); |
|
46 |
|
47 G_END_DECLS |
|
48 |
|
49 #endif /* __LM_IDUMMY_H__ */ |
|
50 |