improved VOIP plugin code. Plugin loads, has a config tab. Next step: merge service with existing p3VoRS service

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-18 20:30:10 +00:00
parent 2c6a2b4ee7
commit 4fb02f9f67
9 changed files with 105 additions and 100 deletions

View file

@ -5,7 +5,7 @@
#include "VOIPPlugin.h"
#include "AudioInputConfig.h"
//static void *inited = new VOIPPlugin() ;
static void *inited = new VOIPPlugin() ;
extern "C" {
void *RETROSHARE_PLUGIN_provide()
@ -28,6 +28,7 @@ VOIPPlugin::VOIPPlugin()
mVoip = NULL ;
mPlugInHandler = NULL;
mPeers = NULL;
config_page = NULL ;
}
void VOIPPlugin::setInterfaces(RsPlugInInterfaces &interfaces)
@ -48,7 +49,7 @@ RsPQIService *VOIPPlugin::rs_pqi_service() const
if(mVoip == NULL)
{
mVoip = new p3VoipService(mPlugInHandler) ; // , 3600 * 24 * 30 * 6); // 6 Months
rsVoip = mVoip ;
rsVoipSI = mVoip ;
}
return mVoip ;