2010-02-14 18:08:16 +01:00
|
|
|
// Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones
|
|
|
|
// This file is part of the "cAudio Engine"
|
|
|
|
// For conditions of distribution and use, see copyright notice in cAudio.h
|
|
|
|
|
|
|
|
#ifndef CFILELOGRECEIVER_H_INCLUDED
|
|
|
|
#define CFILELOGERCEIVER_H_INCLUDED
|
|
|
|
|
|
|
|
#include "../include/ILogReceiver.h"
|
|
|
|
#include <string>
|
|
|
|
#include <list>
|
|
|
|
|
|
|
|
namespace cAudio
|
|
|
|
{
|
|
|
|
|
|
|
|
class cFileLogReceiver : public ILogReceiver
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cFileLogReceiver();
|
|
|
|
~cFileLogReceiver();
|
|
|
|
|
|
|
|
bool OnLogMessage(const char* sender, const char* message, LogLevel level, float time);
|
|
|
|
|
|
|
|
private:
|
2010-02-14 23:04:30 +01:00
|
|
|
|
|
|
|
bool firsttime;
|
2010-02-14 18:08:16 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //!CFILELOGRECEIVER_H_INCLUDED
|