]> SALOME platform Git repositories - tools/install.git/blob - src/globals.h
Salome HOME
4871e97d466017cfa70aef7e889d0fe3cd9d8c88
[tools/install.git] / src / globals.h
1 #if !defined( ___GLOBALS )
2 #define ___GLOBALS
3
4 // ========================
5 // process debug messages
6 // ========================
7
8 #include <qglobal.h>
9
10 #ifdef QT_DEBUG
11
12 #define ___MESSAGE___( x ) cout << x << endl;
13
14 #else
15
16 #define ___MESSAGE___( x )
17
18 #endif
19
20 #define ___DEBUG___( x )   ___MESSAGE___( "DEBUG: " << x   )
21 #define ___WARNING___( x ) ___MESSAGE___( "WARNING: " << x )
22 #define ___FATAL___( x )   ___MESSAGE___( "FATAL: " << x   )
23
24 #endif // ___GLOBALS