Build fix.
[AROS-Contrib.git] / vpdf / logger.h
blobeb050fa648c9fc5a5b3b7f0d7a587c808e6e8c2b
1 #ifndef LOGGER_MCC_H
2 #define LOGGER_MCC_H
4 #include "mcc/classes.h"
5 #include "application.h"
7 #define MUIM_Logger_LogMessage ( MUIM_Logger_Dummy + 1 )
9 #if defined(__AROS__)
10 #define LoggerObject BOOPSIOBJMACRO_START(getLoggerClass())
11 #else
12 #define LoggerObject NewObject( getLoggerClass() , NULL
13 #endif
15 struct MUIP_Logger_LogMessage{ULONG MethodID; ULONG severity; STRPTR message;};
17 #define MUIV_Logger_LogMessage_Message MUIV_VPDF_LogMessage_Message
18 #define MUIV_Logger_LogMessage_Warning MUIV_VPDF_LogMessage_Warning
19 #define MUIV_Logger_LogMessage_Error MUIV_VPDF_LogMessage_Error
21 DEFCLASS(Logger);
24 #endif