Last change
on this file since 119 was
109,
checked in by sz, 11 years ago
|
source reorganization (see README)
new feature added: part/joint shapes (see frams/_demos/part_shapes.cpp)
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Rev | Line | |
---|
[109] | 1 | #ifndef _FRAMSG_H_ |
---|
| 2 | #define _FRAMSG_H_ |
---|
| 3 | |
---|
| 4 | #include <stdarg.h> |
---|
| 5 | |
---|
| 6 | extern char* MSG_LEVEL[]; |
---|
| 7 | |
---|
| 8 | void FMprintf(const char *o,const char *m,int w,const char *bl, ...); |
---|
| 9 | void FMprintf_va(const char *o,const char *m,int w,const char *bl,va_list va);//inna nazwa bo bez tego nie odroznia parametru "string" od va_list i wywoluje zla wersje |
---|
| 10 | void printFM(const char *bl,...); //dla leniwych - zastepuje printf (zmieniona nazwa chociaz tutaj "prawdopodobienstwo" konfliktu jest niewielkie, musialoby byc wywolanie malego printa z kilkoma parametrami odpowiednich typow zeby niechcacy wywolal sie duzy print) |
---|
| 11 | void 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 | /* |
---|
| 20 | w: weight (importance) of a message |
---|
| 21 | -1:debugging information, not needed for final users |
---|
| 22 | 0: information |
---|
| 23 | 1: warning or corrected error |
---|
| 24 | 2: uncorrected error. can cause malfunction |
---|
| 25 | 3: serious error, causes side effects. user should save what can be saved and restart the application |
---|
| 26 | */ |
---|
| 27 | |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.