implement sounds when blinds increases (ticket #83)

This commit is contained in:
doitux
2011-12-25 13:34:06 +00:00
parent 3aa998070f
commit f294834d00
9 changed files with 162 additions and 110 deletions
+3
View File
@@ -21,6 +21,7 @@
#include "gametableimpl.h"
#include "startwindowimpl.h"
#include "configfile.h"
#include "soundevents.h"
#include <net/socket_msg.h>
@@ -247,7 +248,9 @@ void GuiWrapper::logNewGameHandMsg(int gameID, int handID)
}
void GuiWrapper::logNewBlindsSetsMsg(int sbSet, int bbSet, std::string sbName, std::string bbName)
{
myW->getMySoundEventHandler()->blindsWereSet(sbSet);
myGuiLog->signalLogNewBlindsSetsMsg(sbSet, bbSet, QString::fromUtf8(sbName.c_str()), QString::fromUtf8(bbName.c_str()));
}
void GuiWrapper::logPlayerWinsMsg(std::string playerName, int pot, bool main)
{