2
* gabble-call-content.h - Header for TpyBaseMediaCallContent
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_BASE_MEDIA_CALL_CONTENT_H__
22
#define __TPY_BASE_MEDIA_CALL_CONTENT_H__
24
#include <glib-object.h>
26
#include <telepathy-yell/call-content-codec-offer.h>
27
#include <telepathy-yell/base-call-content.h>
32
typedef struct _TpyBaseMediaCallContent TpyBaseMediaCallContent;
33
typedef struct _TpyBaseMediaCallContentPrivate TpyBaseMediaCallContentPrivate;
34
typedef struct _TpyBaseMediaCallContentClass TpyBaseMediaCallContentClass;
36
struct _TpyBaseMediaCallContentClass {
37
TpyBaseCallContentClass parent_class;
40
struct _TpyBaseMediaCallContent {
41
TpyBaseCallContent parent;
43
TpyBaseMediaCallContentPrivate *priv;
46
GType tpy_base_media_call_content_get_type (void);
49
#define TPY_TYPE_BASE_MEDIA_CALL_CONTENT \
50
(tpy_base_media_call_content_get_type ())
51
#define TPY_BASE_MEDIA_CALL_CONTENT(obj) \
52
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
53
TPY_TYPE_BASE_MEDIA_CALL_CONTENT, TpyBaseMediaCallContent))
54
#define TPY_BASE_MEDIA_CALL_CONTENT_CLASS(klass) \
55
(G_TYPE_CHECK_CLASS_CAST((klass), \
56
TPY_TYPE_BASE_MEDIA_CALL_CONTENT, TpyBaseMediaCallContentClass))
57
#define TPY_IS_BASE_MEDIA_CALL_CONTENT(obj) \
58
(G_TYPE_CHECK_INSTANCE_TYPE((obj), TPY_TYPE_BASE_MEDIA_CALL_CONTENT))
59
#define TPY_IS_BASE_MEDIA_CALL_CONTENT_CLASS(klass) \
60
(G_TYPE_CHECK_CLASS_TYPE((klass), TPY_TYPE_BASE_MEDIA_CALL_CONTENT))
61
#define TPY_BASE_MEDIA_CALL_CONTENT_GET_CLASS(obj) \
62
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
63
TPY_TYPE_BASE_MEDIA_CALL_CONTENT, TpyBaseMediaCallContentClass))
65
GPtrArray *tpy_base_media_call_content_get_local_codecs (
66
TpyBaseMediaCallContent *self);
68
void tpy_base_media_call_content_add_offer (TpyBaseMediaCallContent *self,
69
TpyCallContentCodecOffer *offer);
73
#endif /* #ifndef __TPY_BASE_MEDIA_CALL_CONTENT_H__*/