mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 08:39:08 -05:00
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:
parent
12b3ed02f1
commit
db07053214
9 changed files with 107 additions and 7 deletions
|
|
@ -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 ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue