20 lines
355 B
C++
20 lines
355 B
C++
#include "stdafx.h"
|
|
#include "LoggingConsumer.h"
|
|
#include "EventSystem.h"
|
|
|
|
using namespace Sia::Api;
|
|
|
|
CLoggingConsumer::CLoggingConsumer()
|
|
{
|
|
CEventSystem::EventSystem.AddEventConsumer([=](const CEvent& event) {this->ProcessEvent(event); });
|
|
}
|
|
|
|
|
|
CLoggingConsumer::~CLoggingConsumer()
|
|
{
|
|
}
|
|
|
|
void CLoggingConsumer::ProcessEvent(const CEvent& eventData)
|
|
{
|
|
|
|
} |