Salome HOME
Update for version 2.2.3
[tools/install.git] / src / globals.h
1 //  File      : globals.h
2 //  Created   : 14/01/2005
3 //  Author    : Vadim SANDLER
4 //  Project   : SALOME
5 //  Module    : Installation Wizard
6 //  Copyright : 2004-2005 CEA
7
8 #if !defined( ___GLOBALS )
9 #define ___GLOBALS
10
11 // ========================
12 // process debug messages
13 // ========================
14
15 #include <qglobal.h>
16
17 #ifdef QT_DEBUG
18
19 #define ___MESSAGE___( x ) cout << x << endl;
20
21 #else
22
23 #define ___MESSAGE___( x )
24
25 #endif
26
27 #define ___DEBUG___( x )   ___MESSAGE___( "DEBUG: " << x   )
28 #define ___WARNING___( x ) ___MESSAGE___( "WARNING: " << x )
29 #define ___FATAL___( x )   ___MESSAGE___( "FATAL: " << x   )
30
31 #endif // ___GLOBALS