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

« back to all changes in this revision

Viewing changes to telepathy-glib/channel-factory-iface.h

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2010-06-14 17:42:08 UTC
  • mfrom: (1.6.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100614174208-7b6teypo8jnx5uux
Tags: 0.11.7-1
* New upstream version
  - requires gobject-introspection 0.6.13
  - new ABI, API

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
G_BEGIN_DECLS
32
32
 
 
33
#ifndef TP_DISABLE_DEPRECATED
 
34
 
33
35
#define TP_TYPE_CHANNEL_FACTORY_IFACE (tp_channel_factory_iface_get_type ())
34
36
 
35
37
#define TP_CHANNEL_FACTORY_IFACE(obj) \
48
50
 * TpChannelFactoryIface:
49
51
 *
50
52
 * Opaque typedef representing any channel factory implementation.
 
53
 *
 
54
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
55
 *
 
56
 * Deprecated: 0.11.7
51
57
 */
52
58
typedef struct _TpChannelFactoryIface TpChannelFactoryIface;
53
59
 
77
83
 *  existing channel.
78
84
 *
79
85
 * Indicates the result of a channel request.
 
86
 *
 
87
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
88
 *
 
89
 * Deprecated: 0.11.7
80
90
 */
81
91
typedef enum { /*< skip >*/
82
92
  TP_CHANNEL_FACTORY_REQUEST_STATUS_NOT_IMPLEMENTED = 0,
94
104
 *
95
105
 * A virtual method on a channel factory that takes no extra parameters
96
106
 * and returns nothing.
 
107
 *
 
108
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
109
 *
 
110
 * Deprecated: 0.11.7
97
111
 */
98
112
typedef void (*TpChannelFactoryIfaceProc) (TpChannelFactoryIface *self);
99
113
 
118
132
 *
119
133
 * Signature of an implementation of RequestChannel.
120
134
 *
 
135
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
136
 *
 
137
 * Deprecated: 0.11.7
 
138
 *
121
139
 * Returns: one of the values of #TpChannelFactoryRequestStatus, and
122
140
 *          behaves as documented for that return value
123
141
 */
134
152
 *
135
153
 * Signature of an implementation of foreach, which must call
136
154
 * func(channel, data) for each channel managed by this factory.
 
155
 *
 
156
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
157
 *
 
158
 * Deprecated: 0.11.7
137
159
 */
138
160
typedef void (*TpChannelFactoryIfaceForeachImpl) (TpChannelFactoryIface *self,
139
161
    TpChannelFunc func, gpointer data);
158
180
 *  implementations. See #TpChannelFactoryIfaceRequestImpl for details.
159
181
 *
160
182
 * The class structure and vtable for a channel factory implementation.
 
183
 *
 
184
 * Deprecated since version 0.11.7. Use #TpChannelManager instead.
 
185
 *
 
186
 * Deprecated: 0.11.7
161
187
 */
162
188
struct _TpChannelFactoryIfaceClass {
163
189
  GTypeInterface parent_class;
168
194
  TpChannelFactoryIfaceProc disconnected;
169
195
  TpChannelFactoryIfaceForeachImpl foreach;
170
196
  TpChannelFactoryIfaceRequestImpl request;
171
 
};
 
197
} _TP_GNUC_DEPRECATED;
172
198
 
173
199
GType tp_channel_factory_iface_get_type (void);
174
200
 
194
220
void tp_channel_factory_iface_emit_channel_error (gpointer instance,
195
221
    TpChannelIface *channel, GError *error, gpointer request);
196
222
 
 
223
#endif /* not TP_DISABLE_DEPRECATED */
 
224
 
197
225
G_END_DECLS
198
226
 
199
227
#endif /* __TP_CHANNEL_FACTORY_IFACE_H__ */