summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_input/ecore_input_private.h
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-01-07 00:30:05 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-01-07 00:30:05 +0000
commit8007e730772d012bd65237a2e8650f72590659d6 (patch)
tree89673da66c4087a7c4d3869a60ce7b968fb6c77a /legacy/ecore/src/lib/ecore_input/ecore_input_private.h
parentff86d2766313980961245d3cde25b79c80e07330 (diff)
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
Diffstat (limited to 'legacy/ecore/src/lib/ecore_input/ecore_input_private.h')
-rw-r--r--legacy/ecore/src/lib/ecore_input/ecore_input_private.h37
1 files changed, 37 insertions, 0 deletions
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 @@
1#ifndef _ECORE_INPUT_PRIVATE_H
2#define _ECORE_INPUT_PRIVATE_H
3
4extern int _ecore_input_log_dom;
5
6#ifdef ECORE_INPUT_DEFAULT_LOG_COLOR
7# undef ECORE_INPUT_DEFAULT_LOG_COLOR
8#endif
9
10#define ECORE_INPUT_DEFAULT_LOG_COLOR EINA_COLOR_BLUE
11
12#ifdef ERR
13# undef ERR
14#endif
15#define ERR(...) EINA_LOG_DOM_ERR(_ecore_input_log_dom, __VA_ARGS__)
16
17#ifdef DBG
18# undef DBG
19#endif
20#define DBG(...) EINA_LOG_DOM_DBG(_ecore_input_log_dom, __VA_ARGS__)
21
22#ifdef INF
23# undef INF
24#endif
25#define INF(...) EINA_LOG_DOM_INFO(_ecore_input_log_dom, __VA_ARGS__)
26
27#ifdef WRN
28# undef WRN
29#endif
30#define WRN(...) EINA_LOG_DOM_WARN(_ecore_input_log_dom, __VA_ARGS__)
31
32#ifdef CRIT
33# undef CRIT
34#endif
35#define CRIT(...) EINA_LOG_DOM_CRIT(_ecore_input_log_dom, __VA_ARGS__)
36
37#endif