source: cpp/gdk/framsg.h @ 95

Last change on this file since 95 was 82, checked in by Maciej Komosinski, 12 years ago

compiles under more platforms and OSes

  • Property svn:eol-style set to native
File size: 749 bytes
RevLine 
[5]1#ifndef _FRAMSG_H_
2#define _FRAMSG_H_
3
4#include <stdarg.h>
5
6void FMprintf(const char *o,const char *m,int w,const char *bl, ...);
7void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va);
[82]8void FMprintf(const char *bl,...); //dla leniwych - zastepuje printf
[5]9void FramMessage(const char *o,const char *m,const char *bl,int w);
10
11#define FMLV_DEBUG -1
12#define FMLV_INFO 0
13#define FMLV_WARN 1
14#define FMLV_ERROR 2
15#define FMLV_CRITICAL 3
16
17/*
18w: weight (importance) of a message
19-1:debugging information, not needed for final users
200: information
211: warning or corrected error
222: uncorrected error. can cause malfunction
233: serious error, causes side effects. user should save what can be
24   saved and restart the application
25*/
26
27#endif
Note: See TracBrowser for help on using the repository browser.