00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __ERROR_H__
00012 #define __ERROR_H__
00013
00014 #include "Common/CommonDll.h"
00015 #include <windows.h>
00016 #include "Common/Types.h"
00017
00018
00019 class COMMON_API KError
00020 {
00021
00022
00023 public:
00024 KError();
00025 virtual ~KError();
00026
00027 static void FatalError( HWND hWnd, const char *format, ... );
00028 static void FatalError( HWND hWnd, u32 ErrorCode, const char *format, ... );
00029 static void Error( HWND hWnd, const char *format, ... );
00030 static void Error( HWND hWnd, u32 ErrorCode, const char *format, ... );
00031 static void Warning( HWND hWnd, const char *format, ... );
00032 static void Debug( HWND hWnd, const char *format, ... );
00033 };
00034
00035 #endif __ERROR_H__