source: cpp/gdk/framsg.h @ 104

Last change on this file since 104 was 104, checked in by sz, 11 years ago

introducing object de/serialization - see serialtest.cpp
the core GDK classes can be now used in multiple threads (ifdef MULTITHREADED)

  • Property svn:eol-style set to native
File size: 783 bytes
Line 
1#ifndef _FRAMSG_H_
2#define _FRAMSG_H_
3
4#include <stdarg.h>
5
6extern char* MSG_LEVEL[];
7
8void FMprintf(const char *o,const char *m,int w,const char *bl, ...);
9void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va);
10void FMprintf(const char *bl,...); //for lazy people - instead of printf
11void FramMessage(const char *o,const char *m,const char *bl,int w);
12
13#define FMLV_DEBUG -1
14#define FMLV_INFO 0
15#define FMLV_WARN 1
16#define FMLV_ERROR 2
17#define FMLV_CRITICAL 3
18
19/*
20w: weight (importance) of a message
21
22-1: debugging information, not needed for final users
23 0: information
24 1: warning or corrected error
25 2: uncorrected error. can cause malfunction
26 3: serious error, causes side effects. user should save what can be saved and restart the application
27*/
28
29#endif
Note: See TracBrowser for help on using the repository browser.