33 #ifndef CXAUDIOIMPL_H_
34 #define CXAUDIOIMPL_H_
36 #include "cxGuiExport.h"
58 void playSound(QString file);
60 void playSoundInternalSignal(QString file);
62 void playSoundSlot(QString file);
64 QMutex mLastPlayTimeMutex;
65 int mMinTimeBetweenEachSound;
66 QDateTime mLastPlayTime;
67 bool checkValidTime();
85 virtual void playStartSound();
86 virtual void playStopSound();
87 virtual void playCancelSound();
89 virtual void playSuccessSound();
90 virtual void playWarningSound();
91 virtual void playErrorSound();
93 virtual void playScreenShotSound();
94 virtual void playSampleSound();
97 boost::shared_ptr<AudioInternal> mInternal;
Interface for playing sounds.