2
* call-content-codec-offer.h - Header for TpyCallContentCodecOffer
3
* Copyright (C) 2009 Collabora Ltd.
4
* @author Sjoerd Simons <sjoerd.simons@collabora.co.uk>
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef __TPY_CALL_CONTENT_CODEC_OFFER_H__
22
#define __TPY_CALL_CONTENT_CODEC_OFFER_H__
24
#include <glib-object.h>
26
#include <telepathy-glib/telepathy-glib.h>
30
typedef struct _TpyCallContentCodecOffer TpyCallContentCodecOffer;
31
typedef struct _TpyCallContentCodecOfferPrivate
32
TpyCallContentCodecOfferPrivate;
33
typedef struct _TpyCallContentCodecOfferClass
34
TpyCallContentCodecOfferClass;
36
struct _TpyCallContentCodecOfferClass {
37
GObjectClass parent_class;
39
TpDBusPropertiesMixinClass dbus_props_class;
42
struct _TpyCallContentCodecOffer {
45
TpyCallContentCodecOfferPrivate *priv;
48
GType tpy_call_content_codec_offer_get_type (void);
51
#define TPY_TYPE_CALL_CONTENT_CODEC_OFFER \
52
(tpy_call_content_codec_offer_get_type ())
53
#define TPY_CALL_CONTENT_CODEC_OFFER(obj) \
54
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
55
TPY_TYPE_CALL_CONTENT_CODEC_OFFER, TpyCallContentCodecOffer))
56
#define TPY_CALL_CONTENT_CODEC_OFFER_CLASS(klass) \
57
(G_TYPE_CHECK_CLASS_CAST((klass), \
58
TPY_TYPE_CALL_CONTENT_CODEC_OFFER, TpyCallContentCodecOfferClass))
59
#define TPY_IS_CALL_CONTENT_CODEC_OFFER(obj) \
60
(G_TYPE_CHECK_INSTANCE_TYPE((obj), TPY_TYPE_CALL_CONTENT_CODEC_OFFER))
61
#define TPY_IS_CALL_CONTENT_CODEC_OFFER_CLASS(klass) \
62
(G_TYPE_CHECK_CLASS_TYPE((klass), TPY_TYPE_CALL_CONTENT_CODEC_OFFER))
63
#define TPY_CALL_CONTENT_CODEC_OFFER_GET_CLASS(obj) \
64
(G_TYPE_INSTANCE_GET_CLASS ((obj), TPY_TYPE_CALL_CONTENT_CODEC_OFFER, \
65
TpyCallContentCodecOfferClass))
67
TpyCallContentCodecOffer *tpy_call_content_codec_offer_new (
68
const gchar *object_path,
69
TpHandle remote_contact,
72
void tpy_call_content_codec_offer_offer (TpyCallContentCodecOffer *offer,
73
GCancellable *cancellable,
74
GAsyncReadyCallback callback,
77
GPtrArray *tpy_call_content_codec_offer_offer_finish (
78
TpyCallContentCodecOffer *offer,
85
#endif /* #ifndef __TPY_CALL_CONTENT_CODEC_OFFER_H__*/