|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef _LIBDBUS_GLIB_WSD_H |
|
22 #define _LIBDBUS_GLIB_WSD_H |
|
23 |
|
24 |
|
25 |
|
26 #include <dbus.h> |
|
27 #include <dbus-threads.h> |
|
28 #include <glib.h> |
|
29 #include <glib/gtypes.h> |
|
30 #include <glib-object.h> |
|
31 #include <glib/gthread.h> |
|
32 #include <glibconfig.h> |
|
33 #include "libdbus_glib_wsd_macros.h" |
|
34 |
|
35 |
|
36 #if EMULATOR |
|
37 #ifdef __cplusplus |
|
38 extern "C" |
|
39 { |
|
40 #endif |
|
41 |
|
42 struct libdbus_glib_global_struct |
|
43 { |
|
44 VARIABLE_DECL(server_slot,s,dbus_gmain,dbus_int32_t) |
|
45 VARIABLE_DECL(specialized_containers,s,dbus_gtype_specialized,GHashTable *) |
|
46 VARIABLE_DECL(marshal_table,s,dbus_gobject,GHashTable *) |
|
47 VARIABLE_DECL(error_metadata,s,dbus_gobject,GData *) |
|
48 VARIABLE_DECL(globals_lock,s,dbus_gobject,GStaticRWLock ) |
|
49 VARIABLE_DECL(g_proxy_manager_slot,s,dbus_gproxy,int) |
|
50 VARIABLE_DECL(parent_class,s,dbus_gproxy,void *) |
|
51 VARIABLE_DECL_ARRAY(signals,s,dbus_gproxy,guint,2) //array |
|
52 VARIABLE_DECL(connection_g_proxy_lock,s,dbus_gproxy,GStaticMutex) |
|
53 |
|
54 VARIABLE_DECL(_dbus_gmain_connection_slot,g,dbus_gmain,dbus_int32_t) //global |
|
55 |
|
56 |
|
57 VARIABLE_DECL(quark,s,dbus_gtype_specialized,GQuark) |
|
58 VARIABLE_DECL(quark,s,dbus_glib,GQuark) |
|
59 VARIABLE_DECL(our_type,p,dbus_glib,GType) |
|
60 VARIABLE_DECL(our_type,q,dbus_glib,GType) |
|
61 VARIABLE_DECL(our_type,r,dbus_glib,GType) |
|
62 VARIABLE_DECL(our_type,s,dbus_glib,GType) |
|
63 VARIABLE_DECL(quark,s,dbus_gobject,GQuark) |
|
64 VARIABLE_DECL(object_type,s,dbus_gproxy,GType) |
|
65 VARIABLE_DECL(quark,s,dbus_gvalue,GQuark) |
|
66 VARIABLE_DECL(types_initialized,s,dbus_gvalue,gboolean) |
|
67 VARIABLE_DECL(type_id,s,dbus_gvalue,GType) |
|
68 VARIABLE_DECL(our_type,s,dbus_gidl,GType) |
|
69 |
|
70 /*END-global vars*/ |
|
71 |
|
72 }; |
|
73 |
|
74 struct libdbus_glib_global_struct * libdbus_glib_ImpurePtr(); |
|
75 int libdbus_glib_Init(struct libdbus_glib_global_struct *); |
|
76 #ifdef __cplusplus |
|
77 } |
|
78 #endif |
|
79 #endif //EMULATOR |
|
80 #endif //header guard |
|
81 |