mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Changed SoundManger to allow the plugins to play sounds.
Added example to VOIP (commented out). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
56635e4ce4
commit
232af8e71e
11 changed files with 109 additions and 41 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "gui/AudioPopupChatDialog.h"
|
||||
#include "gui/PluginGUIHandler.h"
|
||||
#include "gui/PluginNotifier.h"
|
||||
#include "gui/SoundManager.h"
|
||||
|
||||
#define IMAGE_VOIP ":/images/talking_on.svg"
|
||||
|
||||
|
@ -175,4 +176,7 @@ QTranslator* VOIPPlugin::qt_translator(QApplication */*app*/, const QString& lan
|
|||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
void VOIPPlugin::qt_sound_events(SoundEvents &/*events*/) const
|
||||
{
|
||||
// events.addEvent(QApplication::translate("VOIP", "VOIP"), QApplication::translate("VOIP", "Incoming call"), VOIP_SOUND_INCOMING_CALL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue