source: cpp/gdk/framsg.h @ 64

Last change on this file since 64 was 64, checked in by Maciej Komosinski, 13 years ago

a lot of minor fixes

File size: 875 bytes
Line 
1// This file is a part of the Framsticks GDK library.
2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ 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.