added logic for handling invitations

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4993 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-26 15:49:07 +00:00
parent a4320d785f
commit b748f1a3f1
6 changed files with 36 additions and 6 deletions

View file

@ -14,8 +14,12 @@ class PluginNotifier: public QObject
public:
void notifyReceivedVoipData(const std::string& peer_id) ;
void notifyReceivedVoipInvite(const std::string& peer_id) ;
void notifyReceivedVoipHangUp(const std::string& peer_id) ;
void notifyReceivedVoipAccept(const std::string& peer_id) ;
signals:
void voipInvitationReceived(const QString&) ; // signal emitted when an invitation has been received
void voipDataReceived(const QString&) ; // signal emitted when some voip data has been received
void voipHangUpReceived(const QString& peer_id) ; // emitted when the peer closes the call (i.e. hangs up)
void voipAcceptReceived(const QString& peer_id) ; // emitted when the peer accepts the call
};