1 /* libtelepathy_wsd_solution.h part of libtelepathy |
|
2 * |
|
3 * |
|
4 * Copyright (C) 2007 Nokia Corporation. |
|
5 * This library is free software; you can redistribute it and/or |
|
6 * modify it under the terms of the GNU Lesser General Public |
|
7 * License as published by the Free Software Foundation; either |
|
8 * version 2.1 of the License, or (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 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 library; if not, write to the Free Software |
|
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef _LIBTELEPATHY_WSD_H |
|
23 #define _LIBTELEPATHY_WSD_H |
|
24 #include "libtelepathy_wsd_macros.h" |
|
25 |
|
26 #include <glib/ghash.h> |
|
27 #include <glib/gquark.h> |
|
28 #include <glib-object.h> |
|
29 #include "glibconfig.h" |
|
30 #include <dbus/dbus.h> |
|
31 |
|
32 #include <gobject/gvaluecollector.h> |
|
33 #include <dbus/dbus-glib.h> |
|
34 #include <dbus/dbus-glib-lowlevel.h> |
|
35 |
|
36 |
|
37 #define LAST_SIGNAL_TP_PROPS_IFACE 2 |
|
38 |
|
39 #if EMULATOR |
|
40 #ifdef __cplusplus |
|
41 extern "C" |
|
42 { |
|
43 #endif |
|
44 |
|
45 struct libtelepathy_global_struct |
|
46 { |
|
47 |
|
48 VARIABLE_DECL(parent_class,s,tp_chan,GObjectClass *) |
|
49 VARIABLE_DECL(type1,s,tp_chan,GType) |
|
50 VARIABLE_DECL(ret1,s,tp_chan,GQuark) |
|
51 VARIABLE_DECL(ret2,s,tp_chan,GQuark) |
|
52 VARIABLE_DECL(ret3,s,tp_chan,GQuark) |
|
53 VARIABLE_DECL(ret4,s,tp_chan,GQuark) |
|
54 VARIABLE_DECL(ret5,s,tp_chan,GQuark) |
|
55 VARIABLE_DECL(ret6,s,tp_chan,GQuark) |
|
56 VARIABLE_DECL(ret7,s,tp_chan,GQuark) |
|
57 VARIABLE_DECL(ret8,s,tp_chan,GQuark) |
|
58 VARIABLE_DECL(ret9,s,tp_chan,GQuark) |
|
59 VARIABLE_DECL(ret10,s,tp_chan,GQuark) |
|
60 VARIABLE_DECL(ret11,s,tp_chan,GQuark) |
|
61 |
|
62 VARIABLE_DECL(parent_class,s,tp_conn,GObjectClass *) |
|
63 VARIABLE_DECL(type1,s,tp_conn,GType) |
|
64 VARIABLE_DECL(ret1,s,tp_conn,GQuark) |
|
65 VARIABLE_DECL(ret2,s,tp_conn,GQuark) |
|
66 VARIABLE_DECL(ret3,s,tp_conn,GQuark) |
|
67 VARIABLE_DECL(ret4,s,tp_conn,GQuark) |
|
68 VARIABLE_DECL(ret5,s,tp_conn,GQuark) |
|
69 VARIABLE_DECL(ret6,s,tp_conn,GQuark) |
|
70 VARIABLE_DECL(ret7,s,tp_conn,GQuark) |
|
71 VARIABLE_DECL(ret8,s,tp_conn,GQuark) |
|
72 VARIABLE_DECL(ret9,s,tp_conn,GQuark) |
|
73 |
|
74 VARIABLE_DECL(parent_class,s,tp_connmgr,GObjectClass *) |
|
75 VARIABLE_DECL(type1,s,tp_connmgr,GType) |
|
76 |
|
77 VARIABLE_DECL(bus_proxy,s,tp_helpers,DBusGProxy *) |
|
78 VARIABLE_DECL(bus1,s,tp_helpers,DBusGConnection *) |
|
79 |
|
80 VARIABLE_DECL(parent_class,s,tp_props_iface,GObjectClass *) |
|
81 VARIABLE_DECL(type1,s,tp_props_iface,GType) |
|
82 VARIABLE_DECL(ret,s,tp_props_iface,GQuark) |
|
83 VARIABLE_DECL_ARRAY(signals,s,tp_props_iface,guint,LAST_SIGNAL_TP_PROPS_IFACE) |
|
84 |
|
85 /*END-global vars*/ |
|
86 |
|
87 }; |
|
88 |
|
89 struct libtelepathy_global_struct * libtelepathy_ImpurePtr(); |
|
90 int libtelepathy_Init(struct libtelepathy_global_struct *); |
|
91 #ifdef __cplusplus |
|
92 } |
|
93 #endif |
|
94 #endif //EMULATOR |
|
95 #endif //header guard _LIBTELEPATHY_WSD_H |
|
96 |
|