1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
/*
* call-content.h - high level API for Call contents
*
* Copyright (C) 2011 Collabora Ltd. <http://www.collabora.co.uk/>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined (_TP_GLIB_H_INSIDE) && !defined (_TP_COMPILATION)
#error "Only <telepathy-glib/telepathy-glib.h> can be included directly."
#endif
#ifndef __TP_CALL_CONTENT_H__
#define __TP_CALL_CONTENT_H__
#include <telepathy-glib/proxy.h>
#include <telepathy-glib/call-channel.h>
#include <telepathy-glib/defs.h>
G_BEGIN_DECLS
#define TP_TYPE_CALL_CONTENT (tp_call_content_get_type ())
#define TP_CALL_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TYPE_CALL_CONTENT, TpCallContent))
#define TP_CALL_CONTENT_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), TP_TYPE_CALL_CONTENT, TpCallContentClass))
#define TP_IS_CALL_CONTENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TYPE_CALL_CONTENT))
#define TP_IS_CALL_CONTENT_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), TP_TYPE_CALL_CONTENT))
#define TP_CALL_CONTENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CALL_CONTENT, TpCallContentClass))
/* TpCallContent is forward-declared in call-channel.h */
typedef struct _TpCallContentClass TpCallContentClass;
typedef struct _TpCallContentPrivate TpCallContentPrivate;
struct _TpCallContent
{
/*<private>*/
TpProxy parent;
TpCallContentPrivate *priv;
};
struct _TpCallContentClass
{
/*<private>*/
TpProxyClass parent_class;
GCallback _padding[7];
};
_TP_AVAILABLE_IN_0_18
GType tp_call_content_get_type (void);
#define TP_CALL_CONTENT_FEATURE_CORE \
tp_call_content_get_feature_quark_core ()
_TP_AVAILABLE_IN_0_18
GQuark tp_call_content_get_feature_quark_core (void) G_GNUC_CONST;
_TP_AVAILABLE_IN_0_18
const gchar *tp_call_content_get_name (TpCallContent *self);
_TP_AVAILABLE_IN_0_18
TpMediaStreamType tp_call_content_get_media_type (TpCallContent *self);
_TP_AVAILABLE_IN_0_18
TpCallContentDisposition tp_call_content_get_disposition (TpCallContent *self);
_TP_AVAILABLE_IN_0_18
GPtrArray *tp_call_content_get_streams (TpCallContent *self);
_TP_AVAILABLE_IN_0_18
void tp_call_content_remove_async (TpCallContent *self,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_18
gboolean tp_call_content_remove_finish (TpCallContent *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_18
void tp_call_content_send_tones_async (TpCallContent *self,
const gchar *tones,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_18
gboolean tp_call_content_send_tones_finish (TpCallContent *self,
GAsyncResult *result,
GError **error);
G_END_DECLS
#endif
|