Last change
on this file since 57 was
5,
checked in by sz, 16 years ago
|
added the GDK (Genotype Development Kit)
|
File size:
871 bytes
|
Line | |
---|
1 | // This file is a part of Framsticks GDK library. |
---|
2 | // Copyright (C) 2002-2006 Szymon Ulatowski. See LICENSE.txt for details. |
---|
3 | // Refer to http://www.frams.alife.pl/ for further information. |
---|
4 | |
---|
5 | #ifndef _FRAMSG_H_ |
---|
6 | #define _FRAMSG_H_ |
---|
7 | |
---|
8 | #include <stdarg.h> |
---|
9 | |
---|
10 | void FMprintf(const char *o,const char *m,int w,const char *bl, ...); |
---|
11 | void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va); |
---|
12 | void FramMessage(const char *o,const char *m,const char *bl,int w); |
---|
13 | |
---|
14 | #define FMLV_DEBUG -1 |
---|
15 | #define FMLV_INFO 0 |
---|
16 | #define FMLV_WARN 1 |
---|
17 | #define FMLV_ERROR 2 |
---|
18 | #define FMLV_CRITICAL 3 |
---|
19 | |
---|
20 | /* |
---|
21 | w: weight (importance) of a message |
---|
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 |
---|
27 | saved and restart the application |
---|
28 | */ |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.