Mercurial > pidgin
comparison libpurple/protocols/mxit/voicevideo.h @ 31286:b8d9329dda4a
The initial protocol infrastructure for MXit Voice/Video support.
(Currently disabled with compile-time flag)
author | andrew.victor@mxit.com |
---|---|
date | Fri, 07 Jan 2011 21:51:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
31285:607ad979a753 | 31286:b8d9329dda4a |
---|---|
1 /* | |
2 * MXit Protocol libPurple Plugin | |
3 * | |
4 * -- voice & video -- | |
5 * | |
6 * Andrew Victor <libpurple@mxit.com> | |
7 * | |
8 * (C) Copyright 2010 MXit Lifestyle (Pty) Ltd. | |
9 * <http://www.mxitlifestyle.com> | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
24 */ | |
25 | |
26 #ifndef _MXIT_VOICEVICEO_H_ | |
27 #define _MXIT_VOICEVIDEO_H_ | |
28 | |
29 #include "media.h" | |
30 | |
31 | |
32 #undef MXIT_DEV_VV | |
33 | |
34 | |
35 gboolean mxit_audio_enabled(void); | |
36 gboolean mxit_video_enabled(void); | |
37 PurpleMediaCaps mxit_media_caps(PurpleAccount* account, const char* who); | |
38 gboolean mxit_media_initiate(PurpleAccount* account, const char* who, PurpleMediaSessionType type); | |
39 | |
40 | |
41 #endif /* _MXIT_VOICEVIDEO_H_ */ |