source: cpp/gdk/framsg.h @ 70

Last change on this file since 70 was 66, checked in by Maciej Komosinski, 14 years ago

set 'eol-style' to 'native'

  • Property svn:eol-style set to native
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.