saved current work on VOIP plugin. Not working yet.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4959 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-18 16:15:37 +00:00
parent c78b45b755
commit fbce07eab0
3 changed files with 8 additions and 3 deletions

View File

@ -47,7 +47,7 @@ RsPQIService *VOIPPlugin::rs_pqi_service() const
{
if(mVoip == NULL)
{
mVoip = new p3VoipService(/*mPlugInHandler*/) ; // , 3600 * 24 * 30 * 6); // 6 Months
mVoip = new p3VoipService(mPlugInHandler) ; // , 3600 * 24 * 30 * 6); // 6 Months
rsVoip = mVoip ;
}

View File

@ -39,7 +39,9 @@
class p3VoipService: public RsPQIService, public RsVoip
{
public:
p3VoipService() : RsPQIService(RS_SERVICE_TYPE_VOIP) {}
p3VoipService(RsPluginHandler *handler)
: RsPQIService(RS_SERVICE_TYPE_VOIP,CONFIG_TYPE_VOIP,0,handler)
{}
/***** overloaded from p3Service *****/
/*!
@ -49,7 +51,7 @@ class p3VoipService: public RsPQIService, public RsVoip
* : notifyCustomState, notifyChatStatus, notifyPeerHasNewAvatar
* @see NotifyBase
*/
virtual void tick();
virtual int tick();
virtual int status();
// /*************** pqiMonitor callback ***********************/

View File

@ -8,6 +8,9 @@
class RsVoip ;
extern RsVoip *rsVoip;
static const uint32_t CONFIG_TYPE_VOIP = 0xe001 ;
//static const uint32_t RS_SERVICE_TYPE_VOIP = 0xe001 ;
class RsVoip
{
public: