summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_file
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_file
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 '')
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c2
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_private.h6
2 files changed, 7 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index fc61fa4f39..564c137d30 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c
@@ -41,7 +41,7 @@ ecore_file_init()
41{ 41{
42 if (++_ecore_file_init_count != 1) 42 if (++_ecore_file_init_count != 1)
43 return _ecore_file_init_count; 43 return _ecore_file_init_count;
44 _ecore_file_log_dom = eina_log_domain_register("EcoreFile", ECORE_DEFAULT_LOG_COLOR); 44 _ecore_file_log_dom = eina_log_domain_register("EcoreFile", ECORE_FILE_DEFAULT_LOG_COLOR);
45 if(_ecore_file_log_dom < 0) 45 if(_ecore_file_log_dom < 0)
46 { 46 {
47 EINA_LOG_ERR("Impossible to create a log domain for the ecore file module."); 47 EINA_LOG_ERR("Impossible to create a log domain for the ecore file module.");
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_private.h b/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
index 073e446ee4..072987299a 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_private.h
@@ -19,6 +19,12 @@
19#include "Ecore_File.h" 19#include "Ecore_File.h"
20 20
21extern int _ecore_file_log_dom; 21extern int _ecore_file_log_dom;
22
23#ifdef ECORE_FILE_DEFAULT_LOG_COLOR
24#undef ECORE_FILE_DEFAULT_LOG_COLOR
25#endif
26#define ECORE_FILE_DEFAULT_LOG_COLOR EINA_COLOR_BLUE
27
22#ifdef ERR 28#ifdef ERR
23# undef ERR 29# undef ERR
24#endif 30#endif