os/ossrv/ofdbus/dbus-glib/dbus/libdbus_glib_wsd_solution.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ofdbus/dbus-glib/dbus/libdbus_glib_wsd_solution.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,81 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 + 
    1.22 +
    1.23 + 
    1.24 +#ifndef _LIBDBUS_GLIB_WSD_H
    1.25 +#define _LIBDBUS_GLIB_WSD_H
    1.26 +
    1.27 +
    1.28 +
    1.29 +#include <dbus.h>
    1.30 +#include <dbus-threads.h>
    1.31 +#include <glib.h>
    1.32 +#include <glib/gtypes.h>
    1.33 +#include <glib-object.h>
    1.34 +#include <glib/gthread.h>
    1.35 +#include <glibconfig.h>
    1.36 +#include "libdbus_glib_wsd_macros.h"
    1.37 +
    1.38 +
    1.39 +#if EMULATOR
    1.40 +#ifdef __cplusplus
    1.41 +extern "C" 
    1.42 +{
    1.43 +#endif
    1.44 +
    1.45 +struct libdbus_glib_global_struct
    1.46 +{
    1.47 +	  VARIABLE_DECL(server_slot,s,dbus_gmain,dbus_int32_t)
    1.48 +	  VARIABLE_DECL(specialized_containers,s,dbus_gtype_specialized,GHashTable *)
    1.49 +      VARIABLE_DECL(marshal_table,s,dbus_gobject,GHashTable *)
    1.50 +      VARIABLE_DECL(error_metadata,s,dbus_gobject,GData *)
    1.51 +      VARIABLE_DECL(globals_lock,s,dbus_gobject,GStaticRWLock )
    1.52 +      VARIABLE_DECL(g_proxy_manager_slot,s,dbus_gproxy,int)
    1.53 +      VARIABLE_DECL(parent_class,s,dbus_gproxy,void *)
    1.54 +      VARIABLE_DECL_ARRAY(signals,s,dbus_gproxy,guint,2)  //array
    1.55 +      VARIABLE_DECL(connection_g_proxy_lock,s,dbus_gproxy,GStaticMutex)
    1.56 +      
    1.57 +      VARIABLE_DECL(_dbus_gmain_connection_slot,g,dbus_gmain,dbus_int32_t)  //global
    1.58 +      
    1.59 +      
    1.60 +      VARIABLE_DECL(quark,s,dbus_gtype_specialized,GQuark)
    1.61 +      VARIABLE_DECL(quark,s,dbus_glib,GQuark)
    1.62 +      VARIABLE_DECL(our_type,p,dbus_glib,GType)
    1.63 +      VARIABLE_DECL(our_type,q,dbus_glib,GType)
    1.64 +      VARIABLE_DECL(our_type,r,dbus_glib,GType)
    1.65 +      VARIABLE_DECL(our_type,s,dbus_glib,GType)
    1.66 +      VARIABLE_DECL(quark,s,dbus_gobject,GQuark)
    1.67 +      VARIABLE_DECL(object_type,s,dbus_gproxy,GType)
    1.68 +      VARIABLE_DECL(quark,s,dbus_gvalue,GQuark)
    1.69 +      VARIABLE_DECL(types_initialized,s,dbus_gvalue,gboolean)
    1.70 +      VARIABLE_DECL(type_id,s,dbus_gvalue,GType)
    1.71 +      VARIABLE_DECL(our_type,s,dbus_gidl,GType)
    1.72 +            
    1.73 +    /*END-global vars*/
    1.74 + 
    1.75 +    };
    1.76 +
    1.77 +struct libdbus_glib_global_struct * libdbus_glib_ImpurePtr();
    1.78 +int libdbus_glib_Init(struct libdbus_glib_global_struct *);
    1.79 +#ifdef __cplusplus
    1.80 +}
    1.81 +#endif
    1.82 +#endif //EMULATOR
    1.83 +#endif //header guard
    1.84 +