2012-02-25 13:15:36 -05:00
|
|
|
// This class receives async-ed signals from the plugin notifier,
|
|
|
|
// and executes GUI requests.
|
|
|
|
//
|
|
|
|
// It is never called directly: it is called by Qt signal-received callback,
|
|
|
|
// in the main GUI thread.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
class PluginGUIHandler: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void ReceivedInvitation(const QString& peer_id) ;
|
|
|
|
void ReceivedVoipData(const QString& peer_id) ;
|
2012-02-26 10:49:07 -05:00
|
|
|
void ReceivedVoipHangUp(const QString& peer_id) ;
|
|
|
|
void ReceivedVoipAccept(const QString& peer_id) ;
|
2012-02-25 13:15:36 -05:00
|
|
|
};
|