Last change
on this file since 100 was
82,
checked in by Maciej Komosinski, 12 years ago
|
compiles under more platforms and OSes
|
-
Property svn:eol-style set to
native
|
File size:
749 bytes
|
Line | |
---|
1 | #ifndef _FRAMSG_H_ |
---|
2 | #define _FRAMSG_H_ |
---|
3 | |
---|
4 | #include <stdarg.h> |
---|
5 | |
---|
6 | void FMprintf(const char *o,const char *m,int w,const char *bl, ...); |
---|
7 | void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va); |
---|
8 | void FMprintf(const char *bl,...); //dla leniwych - zastepuje printf |
---|
9 | void FramMessage(const char *o,const char *m,const char *bl,int w); |
---|
10 | |
---|
11 | #define FMLV_DEBUG -1 |
---|
12 | #define FMLV_INFO 0 |
---|
13 | #define FMLV_WARN 1 |
---|
14 | #define FMLV_ERROR 2 |
---|
15 | #define FMLV_CRITICAL 3 |
---|
16 | |
---|
17 | /* |
---|
18 | w: weight (importance) of a message |
---|
19 | -1:debugging information, not needed for final users |
---|
20 | 0: information |
---|
21 | 1: warning or corrected error |
---|
22 | 2: uncorrected error. can cause malfunction |
---|
23 | 3: serious error, causes side effects. user should save what can be |
---|
24 | saved and restart the application |
---|
25 | */ |
---|
26 | |
---|
27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.