mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 15:39:36 -05:00
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:
parent
c78b45b755
commit
fbce07eab0
@ -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 ;
|
||||
}
|
||||
|
||||
|
@ -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 ***********************/
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user