- initial commit

git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@2 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-07-19 08:20:53 +00:00
commit 28847d44d8
1153 changed files with 442315 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef _LOGCOMPONENT_H_
#define _LOGCOMPONENT_H_
#include "JuceHeader.h"
// ---------------------------------------------------
class LogHandler
{
public:
LogHandler() {}
virtual ~LogHandler() {}
virtual void handleMessage(String msg) = 0;
};
class LogComponent
{
public:
LogComponent(LogHandler *pLogHandler);
~LogComponent(void);
void log(const char* format, ...);
private:
LogHandler *m_pLogHandler;
};
#endif // _LOGCOMPONENT_H_