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