Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 /* -*- mode: C; c-file-style: "gnu" -*- */
2 /* dbus-glib-lowlevel.h GLib integration details that require dbus/dbus.h
4 * Copyright (C) 2002, 2003 CodeFactory AB
5 * Copyright (C) 2003, 2004 Red Hat, Inc.
6 * Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
7 * Licensed under the Academic Free License version 2.1
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef DBUS_GLIB_LOWLEVEL_H
25 #define DBUS_GLIB_LOWLEVEL_H
27 #include <dbus/dbus-glib.h>
28 #include <dbus/dbus.h>
35 void dbus_set_g_error (GError **gerror,
38 #define DBUS_TYPE_CONNECTION (dbus_connection_get_g_type ())
39 #define DBUS_TYPE_MESSAGE (dbus_message_get_g_type ())
40 #define DBUS_TYPE_PENDING_CALL (dbus_pending_call_get_g_type ())
44 GType dbus_connection_get_g_type (void) G_GNUC_CONST;
48 GType dbus_message_get_g_type (void) G_GNUC_CONST;
49 GType dbus_pending_call_get_g_type (void) G_GNUC_CONST;
54 void dbus_connection_setup_with_g_main (DBusConnection *connection,
55 GMainContext *context);
59 void dbus_server_setup_with_g_main (DBusServer *server,
60 GMainContext *context);
65 void dbus_g_proxy_send (DBusGProxy *proxy,
67 dbus_uint32_t *client_serial);
72 DBusConnection* dbus_g_connection_get_connection (DBusGConnection *gconnection);
76 DBusGConnection* dbus_connection_get_g_connection (DBusConnection *connection);
80 DBusMessage* dbus_g_message_get_message (DBusGMessage *gmessage);
82 /* dbus_g_pending_call_get_pending_call() deliberately skipped for now;
83 * not sure it makes sense to use any of the DBusPendingCall functions
84 * on the wrapped pending call (once we have the right exported
91 gchar* dbus_g_method_get_sender (DBusGMethodInvocation *context);
96 DBusMessage* dbus_g_method_get_reply (DBusGMethodInvocation *context);
101 void dbus_g_method_send_reply (DBusGMethodInvocation *context,
106 #endif /* DBUS_GLIB_LOWLEVEL_H */