~ubuntu-branches/ubuntu/maverick/telepathy-glib/maverick

« back to all changes in this revision

Viewing changes to telepathy-glib/channel-request.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-06-26 18:39:28 UTC
  • mfrom: (1.4.1 upstream) (17.2.5 karmic)
  • Revision ID: james.westby@ubuntu.com-20090626183928-8mvdxsfsak23eqcp
Tags: 0.7.33-1
* New upstream version (API, ABI unchanged)
  + Should fix builds on powerpc, sparc etc.
* Standards-Version: 3.8.2 (no changes required)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * channel-request.h - proxy for a request to the channel dispatcher
 
3
 *
 
4
 * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
 
5
 * Copyright (C) 2009 Nokia Corporation
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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
 
20
 */
 
21
 
 
22
#ifndef TP_CHANNEL_REQUEST_H
 
23
#define TP_CHANNEL_REQUEST_H
 
24
 
 
25
#include <telepathy-glib/proxy.h>
 
26
#include <telepathy-glib/dbus.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
typedef struct _TpChannelRequest TpChannelRequest;
 
31
typedef struct _TpChannelRequestClass TpChannelRequestClass;
 
32
typedef struct _TpChannelRequestPrivate TpChannelRequestPrivate;
 
33
typedef struct _TpChannelRequestClassPrivate TpChannelRequestClassPrivate;
 
34
 
 
35
struct _TpChannelRequest {
 
36
    /*<private>*/
 
37
    TpProxy parent;
 
38
    TpChannelRequestPrivate *priv;
 
39
};
 
40
 
 
41
struct _TpChannelRequestClass {
 
42
    /*<private>*/
 
43
    TpProxyClass parent_class;
 
44
    GCallback _padding[7];
 
45
    TpChannelRequestClassPrivate *priv;
 
46
};
 
47
 
 
48
GType tp_channel_request_get_type (void);
 
49
 
 
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, \
 
54
                               TpChannelRequest))
 
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))
 
65
 
 
66
TpChannelRequest *tp_channel_request_new (TpDBusDaemon *bus_daemon,
 
67
    const gchar *object_path, GHashTable *immutable_properties,
 
68
    GError **error);
 
69
 
 
70
void tp_channel_request_init_known_interfaces (void);
 
71
 
 
72
G_END_DECLS
 
73
 
 
74
#include <telepathy-glib/_gen/tp-cli-channel-request.h>
 
75
 
 
76
#endif