added communitation between service and GUI part of VOIP plugin.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4990 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-25 18:15:36 +00:00
parent 12b3ed02f1
commit db07053214
9 changed files with 107 additions and 7 deletions

View file

@ -36,6 +36,7 @@
#include <interface/rsvoip.h>
class p3LinkMgr;
class PluginNotifier ;
class VorsPeerInfo
{
@ -67,7 +68,7 @@ class p3VoRS: public RsPQIService, public RsVoip
//, public p3Config, public pqiMonitor
{
public:
p3VoRS(RsPluginHandler *cm);
p3VoRS(RsPluginHandler *cm,PluginNotifier *);
/***** overloaded from rsVoip *****/
@ -127,7 +128,7 @@ class p3VoRS: public RsPQIService, public RsVoip
virtual bool loadList(std::list<RsItem*>& load) ;
private:
int sendPackets();
int sendPackets();
void sendPingMeasurements();
int processIncoming();
@ -152,6 +153,7 @@ class p3VoRS: public RsPQIService, public RsVoip
uint32_t mCounter;
p3LinkMgr *mLinkMgr;
PluginNotifier *mNotify ;
int _atransmit ;
int _voice_hold ;