blob: ad08d4fa1d6278f103ea93ab93be5da94ee8a5fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/** \file DebugEngineMacro.h
\brief Define the macro for the debug
\author alpha_one_x86
\version 0.3
\date 2010 */
#ifndef DEBUGENGINEMACRO_H
#define DEBUGENGINEMACRO_H
/// \brief Macro for the debug log
#ifdef ULTRACOPIER_PLUGIN_DEBUG
#if defined (__FILE__) && defined (__LINE__)
#define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b,__FILE__,__LINE__)
#else
#define ULTRACOPIER_DEBUGCONSOLE(a,b) emit debugInformation(a,__func__,b)
#endif
#else // ULTRACOPIER_PLUGIN_DEBUG
#define ULTRACOPIER_DEBUGCONSOLE(a,b) void()
#endif // ULTRACOPIER_PLUGIN_DEBUG
#endif // DEBUGENGINEMACRO_H
|