Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_private.h ewl_debug.h 


Log Message:
move ewl_config_cache from ewl_private.h to ewl_debug.h

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_private.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_private.h       2 Oct 2006 05:19:24 -0000       1.9
+++ ewl_private.h       2 Oct 2006 18:20:59 -0000       1.10
@@ -63,9 +63,6 @@
 #define EWL_CONFIG_DEBUG_EVAS_RENDER "/ewl/debug/evas/render"
 #define EWL_CONFIG_DEBUG_GC_REAP "/ewl/debug/gc/reap"
 
-#define EWL_CONFIG_CACHE_EVAS_FONT "/ewl/cache/evas/font"
-#define EWL_CONFIG_CACHE_EVAS_IMAGE "/ewl/cache/evas/image"
-
 #define EWL_CONFIG_ENGINE_NAME "/ewl/engine/name"
 #define EWL_CONFIG_THEME_NAME "/ewl/theme/name"
 #define EWL_CONFIG_THEME_ICON_THEME "/ewl/theme/icon/theme"
@@ -76,29 +73,7 @@
 #define EWL_CONFIG_THEME_COLOR_CLASSES_OVERRIDE 
"/ewl/theme/color/classes/override"
 #define EWL_CONFIG_THEME_COLOR_CLASSES_COUNT "/ewl/theme/color/classes/count"
 
-/**
- * The Ewl_Config_Cache structure
- */
-typedef struct Ewl_Config_Cache Ewl_Config_Cache;
-
-/**
- * The Ewl_Config_Cache struct holds cached configuration data
- */
-struct Ewl_Config_Cache
-{
-       int level;                      /**< Debug level */
-       unsigned char enable:1;         /**< Enable debugging */
-       unsigned char segv:1;           /**< Segv on D* messages */
-       unsigned char backtrace:1;      /**< Print backtrace on D* messages */
-       unsigned char evas_render:1;    /**< Debug evas render calls */
-       unsigned char gc_reap:1;        /**< Debug garbage collection */
-
-       unsigned char print_signals:1;  /**< Print theme signals */
-       unsigned char print_keys:1;     /**< Print theem keys */
-};
-
 extern Ewl_Config *ewl_config; /**< The system configuration data */
-extern Ewl_Config_Cache ewl_config_cache; /**< system debug data */
 
 #endif
 
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_debug.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ewl_debug.h 30 Sep 2006 22:31:36 -0000      1.21
+++ ewl_debug.h 2 Oct 2006 18:20:59 -0000       1.22
@@ -18,6 +18,32 @@
 
 #ifdef DEBUG
 
+#define EWL_CONFIG_CACHE_EVAS_FONT "/ewl/cache/evas/font"
+#define EWL_CONFIG_CACHE_EVAS_IMAGE "/ewl/cache/evas/image"
+
+/**
+ * The Ewl_Config_Cache structure
+ */
+typedef struct Ewl_Config_Cache Ewl_Config_Cache;
+
+/**
+ * The Ewl_Config_Cache struct holds cached configuration data
+ */
+struct Ewl_Config_Cache
+{
+       int level;                      /**< Debug level */
+       unsigned char enable:1;         /**< Enable debugging */
+       unsigned char segv:1;           /**< Segv on D* messages */
+       unsigned char backtrace:1;      /**< Print backtrace on D* messages */
+       unsigned char evas_render:1;    /**< Debug evas render calls */
+       unsigned char gc_reap:1;        /**< Debug garbage collection */
+
+       unsigned char print_signals:1;  /**< Print theme signals */
+       unsigned char print_keys:1;     /**< Print theem keys */
+};
+
+extern Ewl_Config_Cache ewl_config_cache; /**< system debug data */
+
 #define DEBUGGING(lvl) (ewl_config_cache.enable && (ewl_config_cache.level >= 
(lvl)))
 
 #define DENTER_FUNCTION(lvl) \



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to