22 #ifndef __LAUNCHER_UTILS_HXX__
23 #define __LAUNCHER_UTILS_HXX__
28 # if defined LAUNCHER_EXPORTS || defined Launcher_EXPORTS
29 # define LAUNCHER_EXPORT __declspec(dllexport)
31 # define LAUNCHER_EXPORT __declspec(dllimport)
34 # define LAUNCHER_EXPORT
38 #define LAUNCHER_MESS_INIT(deb) std::cerr << deb
39 #define LAUNCHER_MESS_BEGIN(deb) LAUNCHER_MESS_INIT(deb)<<__FILE__ <<" ["<<__LINE__<<"] : "
40 #define LAUNCHER_MESS_END std::endl;
41 #define LAUNCHER_INFOS(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
43 #if defined(_DEBUG_) || defined(_DEBUG)
44 #define LAUNCHER_MESSAGE(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
46 #define LAUNCHER_MESSAGE(msg) {}
52 const std::string
msg;