2
* channel-request.h - proxy for a request to the channel dispatcher
4
* Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
5
* Copyright (C) 2009 Nokia Corporation
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
#ifndef TP_CHANNEL_REQUEST_H
23
#define TP_CHANNEL_REQUEST_H
25
#include <telepathy-glib/proxy.h>
26
#include <telepathy-glib/dbus.h>
30
typedef struct _TpChannelRequest TpChannelRequest;
31
typedef struct _TpChannelRequestClass TpChannelRequestClass;
32
typedef struct _TpChannelRequestPrivate TpChannelRequestPrivate;
33
typedef struct _TpChannelRequestClassPrivate TpChannelRequestClassPrivate;
35
struct _TpChannelRequest {
38
TpChannelRequestPrivate *priv;
41
struct _TpChannelRequestClass {
43
TpProxyClass parent_class;
44
GCallback _padding[7];
45
TpChannelRequestClassPrivate *priv;
48
GType tp_channel_request_get_type (void);
50
#define TP_TYPE_CHANNEL_REQUEST \
51
(tp_channel_request_get_type ())
52
#define TP_CHANNEL_REQUEST(obj) \
53
(G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TYPE_CHANNEL_REQUEST, \
55
#define TP_CHANNEL_REQUEST_CLASS(klass) \
56
(G_TYPE_CHECK_CLASS_CAST ((klass), TP_TYPE_CHANNEL_REQUEST, \
57
TpChannelRequestClass))
58
#define TP_IS_CHANNEL_REQUEST(obj) \
59
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TYPE_CHANNEL_REQUEST))
60
#define TP_IS_CHANNEL_REQUEST_CLASS(klass) \
61
(G_TYPE_CHECK_CLASS_TYPE ((klass), TP_TYPE_CHANNEL_REQUEST))
62
#define TP_CHANNEL_REQUEST_GET_CLASS(obj) \
63
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CHANNEL_REQUEST, \
64
TpChannelRequestClass))
66
TpChannelRequest *tp_channel_request_new (TpDBusDaemon *bus_daemon,
67
const gchar *object_path, GHashTable *immutable_properties,
70
void tp_channel_request_init_known_interfaces (void);
74
#include <telepathy-glib/_gen/tp-cli-channel-request.h>