- 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
+24
View File
@@ -0,0 +1,24 @@
#include "LogComponent.h"
#include <cstdio>
#include <cstdarg>
LogComponent::LogComponent(LogHandler *pLogHandler)
: m_pLogHandler(pLogHandler)
{
}
LogComponent::~LogComponent(void)
{
}
void LogComponent::log(const char* format, ...)
{
char log_buf[257];
String s;
va_list argptr;
va_start(argptr, format);
vsprintf(log_buf, format, argptr);
va_end(argptr);
s = String(log_buf);
// m_pLogHandler->handleMessage(s);
}