diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-15 20:54:11 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-15 20:54:11 +0000 |
commit | a8ba9438d54b3844d6acd50c33f4fbecb1dfcaba (patch) | |
tree | 39258d89bd4dcfad21e408138104d1f371da2f32 /telepathy-glib/media-interfaces.c | |
parent | 48705216f16697b222902fd757232082f0fdad79 (diff) | |
download | telepathy-glib-a8ba9438d54b3844d6acd50c33f4fbecb1dfcaba.tar.gz |
Provide skeletal code for media proxies. Don't support Properties interface for the moment, while I work out where to put it
20071115205411-53eee-9d97928e39838b58b9b718326379c1461f7b226f.gz
Diffstat (limited to 'telepathy-glib/media-interfaces.c')
-rw-r--r-- | telepathy-glib/media-interfaces.c | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/telepathy-glib/media-interfaces.c b/telepathy-glib/media-interfaces.c new file mode 100644 index 000000000..903698301 --- /dev/null +++ b/telepathy-glib/media-interfaces.c @@ -0,0 +1,101 @@ +/* + * media-interfaces.c - proxies for Telepathy media session/stream handlers + * + * Copyright (C) 2007 Collabora Ltd. + * + * 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 + */ + +#include "telepathy-glib/media-interfaces.h" + +#include "telepathy-glib/proxy-internal.h" + +/** + * SECTION:media-interfaces + * @title: TpMediaSessionHandler, TpMediaStreamHandler + * @short_description: proxy objects for Telepathy media streaming + * @see_also: #TpChannel, #TpProxy + * + * This module provides access to the auxiliary objects used to + * implement #TpSvcChannelTypeStreamedMedia. + */ + +/** + * TpMediaStreamHandlerClass: + * + * The class of a #TpMediaStreamHandler. + */ +struct _TpMediaStreamHandlerClass { + TpProxyClass parent_class; + /*<private>*/ +}; + +/** + * TpMediaStreamHandler: + * + * A proxy object for a Telepathy connection manager. + */ +struct _TpMediaStreamHandler { + TpProxy parent; + /*<private>*/ +}; + +G_DEFINE_TYPE (TpMediaStreamHandler, + tp_media_stream_handler, + TP_TYPE_PROXY); + +static void +tp_media_stream_handler_init (TpMediaStreamHandler *self) +{ +} + +static void +tp_media_stream_handler_class_init (TpMediaStreamHandlerClass *klass) +{ +} + +/** + * TpMediaSessionHandlerClass: + * + * The class of a #TpMediaSessionHandler. + */ +struct _TpMediaSessionHandlerClass { + TpProxyClass parent_class; + /*<private>*/ +}; + +/** + * TpMediaSessionHandler: + * + * A proxy object for a Telepathy connection manager. + */ +struct _TpMediaSessionHandler { + TpProxy parent; + /*<private>*/ +}; + +G_DEFINE_TYPE (TpMediaSessionHandler, + tp_media_session_handler, + TP_TYPE_PROXY); + +static void +tp_media_session_handler_init (TpMediaSessionHandler *self) +{ +} + +static void +tp_media_session_handler_class_init (TpMediaSessionHandlerClass *klass) +{ +} |