From 8007e730772d012bd65237a2e8650f72590659d6 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Thu, 7 Jan 2010 00:30:05 +0000 Subject: Patch from Mathieu Taillefumier I modified some hearder file in ecore to ease the cleanup of the private header files in ecore. Each module has now a private header with its own log color (eina_log related). I also created two private header files for ecore_sdl and ecore_input for this purpose and corrected some typos in the xlib_xcb private header file. SVN revision: 44933 --- .../src/lib/ecore_input/ecore_input_private.h | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 legacy/ecore/src/lib/ecore_input/ecore_input_private.h (limited to 'legacy/ecore/src/lib/ecore_input/ecore_input_private.h') diff --git a/legacy/ecore/src/lib/ecore_input/ecore_input_private.h b/legacy/ecore/src/lib/ecore_input/ecore_input_private.h new file mode 100644 index 0000000000..5660a2024a --- /dev/null +++ b/legacy/ecore/src/lib/ecore_input/ecore_input_private.h @@ -0,0 +1,37 @@ +#ifndef _ECORE_INPUT_PRIVATE_H +#define _ECORE_INPUT_PRIVATE_H + +extern int _ecore_input_log_dom; + +#ifdef ECORE_INPUT_DEFAULT_LOG_COLOR +# undef ECORE_INPUT_DEFAULT_LOG_COLOR +#endif + +#define ECORE_INPUT_DEFAULT_LOG_COLOR EINA_COLOR_BLUE + +#ifdef ERR +# undef ERR +#endif +#define ERR(...) EINA_LOG_DOM_ERR(_ecore_input_log_dom, __VA_ARGS__) + +#ifdef DBG +# undef DBG +#endif +#define DBG(...) EINA_LOG_DOM_DBG(_ecore_input_log_dom, __VA_ARGS__) + +#ifdef INF +# undef INF +#endif +#define INF(...) EINA_LOG_DOM_INFO(_ecore_input_log_dom, __VA_ARGS__) + +#ifdef WRN +# undef WRN +#endif +#define WRN(...) EINA_LOG_DOM_WARN(_ecore_input_log_dom, __VA_ARGS__) + +#ifdef CRIT +# undef CRIT +#endif +#define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_input_log_dom, __VA_ARGS__) + +#endif -- cgit v1.2.1