ILogReceiver.h

00001 // Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones
00002 // This file is part of the "cAudio Engine"
00003 // For conditions of distribution and use, see copyright notice in cAudio.h
00004 
00005 #ifndef ILOGRECEIVER_H_INCLUDED
00006 #define ILOGRECEIVER_H_INCLUDED
00007 
00008 namespace cAudio
00009 {
00011         enum LogLevel
00012         {
00013                 ELL_DEBUG,
00014                 ELL_INFO,
00015                 ELL_WARNING,
00016                 ELL_ERROR,
00017                 ELL_CRITICAL,
00018                 ELL_COUNT
00019         };
00020 
00022         const char* const LogLevelStrings[] =
00023         {
00024                 "Debug",
00025                 "Information",
00026                 "Warning",
00027                 "Error",
00028                 "Critical",
00029                 0
00030         };
00031 
00033         class ILogReceiver
00034         {
00035         public:
00036                 ILogReceiver() { }
00037                 ~ILogReceiver() { }
00038 
00040 
00045                 virtual bool OnLogMessage(const char* sender, const char* message, LogLevel level, float time) = 0;
00046         };
00047 };
00048 #endif 
 All Classes Namespaces Functions Variables Enumerations

Generated on Sat Feb 20 22:55:08 2010 for cAudio by  doxygen 1.6.2