view Gui/error.h @ 2302:80251482da41

array was not correctly initialized use of char* since it avoids wasting memory (4+stringsize bytes instead of 128)
author pl
date Sat, 20 Oct 2001 11:14:57 +0000
parents 016f6d583733
children
line wrap: on
line source


#ifndef _MPLAYER_ERROR_HANDLER
#define _MPLAYER_ERROR_HANDLER

#define True 1
#define False 0

// 0 - standard message
// 1 - detto
// 2 - events
// 3 - skin reader messages
// 4 - bitmap reader messages
// 5 - signal handling messages
// 6 - gtk messages

typedef void (*errorTHandler)( int critical,const char * format, ... );

extern errorTHandler message;
extern errorTHandler dbprintf;

#endif