1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/dbus-1.0/dbus/dbus-glib-lowlevel.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,109 @@
1.4 +/* -*- mode: C; c-file-style: "gnu" -*- */
1.5 +/* dbus-glib-lowlevel.h GLib integration details that require dbus/dbus.h
1.6 + *
1.7 + * Copyright (C) 2002, 2003 CodeFactory AB
1.8 + * Copyright (C) 2003, 2004 Red Hat, Inc.
1.9 + * Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.10 + * Licensed under the Academic Free License version 2.1
1.11 + *
1.12 + * This program is free software; you can redistribute it and/or modify
1.13 + * it under the terms of the GNU General Public License as published by
1.14 + * the Free Software Foundation; either version 2 of the License, or
1.15 + * (at your option) any later version.
1.16 + *
1.17 + * This program is distributed in the hope that it will be useful,
1.18 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.19 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.20 + * GNU General Public License for more details.
1.21 + *
1.22 + * You should have received a copy of the GNU General Public License
1.23 + * along with this program; if not, write to the Free Software
1.24 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.25 + *
1.26 + */
1.27 +#ifndef DBUS_GLIB_LOWLEVEL_H
1.28 +#define DBUS_GLIB_LOWLEVEL_H
1.29 +
1.30 +#include <dbus/dbus-glib.h>
1.31 +#include <dbus/dbus.h>
1.32 +
1.33 +G_BEGIN_DECLS
1.34 +
1.35 +#ifdef __SYMBIAN32__
1.36 +IMPORT_C
1.37 +#endif
1.38 +void dbus_set_g_error (GError **gerror,
1.39 + DBusError *derror);
1.40 +
1.41 +#define DBUS_TYPE_CONNECTION (dbus_connection_get_g_type ())
1.42 +#define DBUS_TYPE_MESSAGE (dbus_message_get_g_type ())
1.43 +#define DBUS_TYPE_PENDING_CALL (dbus_pending_call_get_g_type ())
1.44 +#ifdef __SYMBIAN32__
1.45 +IMPORT_C
1.46 +#endif
1.47 +GType dbus_connection_get_g_type (void) G_GNUC_CONST;
1.48 +#ifdef __SYMBIAN32__
1.49 +IMPORT_C
1.50 +#endif
1.51 +GType dbus_message_get_g_type (void) G_GNUC_CONST;
1.52 +GType dbus_pending_call_get_g_type (void) G_GNUC_CONST;
1.53 +
1.54 +#ifdef __SYMBIAN32__
1.55 +IMPORT_C
1.56 +#endif
1.57 +void dbus_connection_setup_with_g_main (DBusConnection *connection,
1.58 + GMainContext *context);
1.59 +#ifdef __SYMBIAN32__
1.60 +IMPORT_C
1.61 +#endif
1.62 +void dbus_server_setup_with_g_main (DBusServer *server,
1.63 + GMainContext *context);
1.64 +
1.65 +#ifdef __SYMBIAN32__
1.66 +IMPORT_C
1.67 +#endif
1.68 +void dbus_g_proxy_send (DBusGProxy *proxy,
1.69 + DBusMessage *message,
1.70 + dbus_uint32_t *client_serial);
1.71 +
1.72 +#ifdef __SYMBIAN32__
1.73 +IMPORT_C
1.74 +#endif
1.75 +DBusConnection* dbus_g_connection_get_connection (DBusGConnection *gconnection);
1.76 +#ifdef __SYMBIAN32__
1.77 +IMPORT_C
1.78 +#endif
1.79 +DBusGConnection* dbus_connection_get_g_connection (DBusConnection *connection);
1.80 +#ifdef __SYMBIAN32__
1.81 +IMPORT_C
1.82 +#endif
1.83 +DBusMessage* dbus_g_message_get_message (DBusGMessage *gmessage);
1.84 +
1.85 +/* dbus_g_pending_call_get_pending_call() deliberately skipped for now;
1.86 + * not sure it makes sense to use any of the DBusPendingCall functions
1.87 + * on the wrapped pending call (once we have the right exported
1.88 + * g-functions anyhow)
1.89 + */
1.90 +
1.91 +#ifdef __SYMBIAN32__
1.92 +IMPORT_C
1.93 +#endif
1.94 +gchar* dbus_g_method_get_sender (DBusGMethodInvocation *context);
1.95 +
1.96 +#ifdef __SYMBIAN32__
1.97 +IMPORT_C
1.98 +#endif
1.99 +DBusMessage* dbus_g_method_get_reply (DBusGMethodInvocation *context);
1.100 +
1.101 +#ifdef __SYMBIAN32__
1.102 +IMPORT_C
1.103 +#endif
1.104 +void dbus_g_method_send_reply (DBusGMethodInvocation *context,
1.105 + DBusMessage *reply);
1.106 +
1.107 +G_END_DECLS
1.108 +
1.109 +#endif /* DBUS_GLIB_LOWLEVEL_H */
1.110 +
1.111 +
1.112 +