36 #include "cxResourceExport.h"
43 #include "boost/shared_ptr.hpp"
44 #include "boost/weak_ptr.hpp"
91 static void initialize();
92 static void shutdown();
96 void setAudioSource(
AudioPtr audioSource);
99 void sendInfo(QString info);
100 void sendSuccess(QString success);
101 void sendWarning(QString warning);
102 void sendError(QString error);
103 void sendDebug(QString debug);
104 void sendVolatile(QString volatile_msg);
105 void sendRaw(QString raw);
107 void sendMessage(QString text, MESSAGE_LEVEL messageLevel=
mlDEBUG,
int timeout=-1,
bool mute=
false);
111 void playStartSound();
112 void playStopSound();
113 void playCancelSound();
115 void playSuccessSound();
116 void playWarningSound();
117 void playErrorSound();
119 void playScreenShotSound();
120 void playSampleSound();
123 virtual void onEmittedMessage(
Message message);
129 bool hasAudioSource()
const;
134 void playSound(MESSAGE_LEVEL messageLevel);
139 static boost::weak_ptr<Reporter> mWeakInstance;
140 static boost::shared_ptr<Reporter> mPersistentInstance;
boost::shared_ptr< class Reporter > ReporterPtr
boost::shared_ptr< class LogThread > LogThreadPtr
boost::shared_ptr< Audio > AudioPtr