view libpurple/protocols/mxit/voicevideo.h @ 31735: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
line wrap: on
line source

/*
 *					MXit Protocol libPurple Plugin
 *
 *						-- voice & video --
 *
 *				Andrew Victor	<libpurple@mxit.com>
 *
 *			(C) Copyright 2010	MXit Lifestyle (Pty) Ltd.
 *				<http://www.mxitlifestyle.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 */

#ifndef		_MXIT_VOICEVICEO_H_
#define		_MXIT_VOICEVIDEO_H_

#include	"media.h"


#undef		MXIT_DEV_VV


gboolean mxit_audio_enabled(void);
gboolean mxit_video_enabled(void);
PurpleMediaCaps mxit_media_caps(PurpleAccount* account, const char* who);
gboolean mxit_media_initiate(PurpleAccount* account, const char* who, PurpleMediaSessionType type);


#endif		/* _MXIT_VOICEVIDEO_H_ */