source: cpp/gdk/framsg.h @ 57

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
10void FMprintf(const char *o,const char *m,int w,const char *bl, ...);
11void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va);
12void 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/*
21w: weight (importance) of a message
22-1:debugging information, not needed for final users
230: information
241: warning or corrected error
252: uncorrected error. can cause malfunction
263: 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.