Download

Support

lib/ewl_private.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef _EWL_PRIVATE_H
00003 #define _EWL_PRIVATE_H
00004 
00005 #include <Ecore_Str.h>
00006 #include <Ecore_File.h>
00007 
00008 #ifdef HAVE_CONFIG_H
00009 #include "ewl-config.h"
00010 #endif
00011 
00012 #include <limits.h>
00013 #include <ctype.h>
00014 #include <sys/stat.h>
00015 
00016 #ifdef HAVE_ALLOCA_H
00017 # include <alloca.h>
00018 #elif defined __GNUC__
00019 # define alloca __builtin_alloca
00020 #elif defined _AIX
00021 # define alloca __alloca
00022 #elif defined _MSC_VER
00023 # include <malloc.h>
00024 # define alloca _alloca
00025 #else
00026 # include <stddef.h>
00027 # ifdef  __cplusplus
00028 extern "C"
00029 # endif
00030 void *alloca (size_t);
00031 #endif
00032 
00033 #ifndef PATH_MAX
00034 #define PATH_MAX 4096
00035 #endif
00036 
00037 #if HAVE___ATTRIBUTE__
00038 #define __UNUSED__ __attribute__((unused))
00039 #else
00040 #define __UNUSED__
00041 #endif
00042 
00043 /* config keys used by EWL */
00044 #define EWL_CONFIG_DEBUG_ENABLE "/ewl/debug/enable"
00045 #define EWL_CONFIG_DEBUG_LEVEL "/ewl/debug/level"
00046 #define EWL_CONFIG_DEBUG_SEGV "/ewl/debug/segv"
00047 #define EWL_CONFIG_DEBUG_BACKTRACE "/ewl/debug/backtrace"
00048 #define EWL_CONFIG_DEBUG_EVAS_RENDER "/ewl/debug/evas/render"
00049 #define EWL_CONFIG_DEBUG_GC_REAP "/ewl/debug/gc/reap"
00050 
00051 #define EWL_CONFIG_CACHE_EVAS_FONT "/ewl/cache/evas/font"
00052 #define EWL_CONFIG_CACHE_EVAS_IMAGE "/ewl/cache/evas/image"
00053 
00054 #define EWL_CONFIG_ENGINE_NAME "/ewl/engine/name"
00055 #define EWL_CONFIG_THEME_NAME "/ewl/theme/name"
00056 #define EWL_CONFIG_THEME_ICON_THEME "/ewl/theme/icon/theme"
00057 #define EWL_CONFIG_THEME_ICON_SIZE "/ewl/theme/icon/size"
00058 #define EWL_CONFIG_THEME_PRINT_KEYS "/ewl/theme/print/keys"
00059 #define EWL_CONFIG_THEME_PRINT_SIGNALS "/ewl/theme/print/signals"
00060 
00061 #define EWL_CONFIG_THEME_COLOR_CLASSES_OVERRIDE "/ewl/theme/color/classes/override"
00062 #define EWL_CONFIG_THEME_COLOR_CLASSES_COUNT "/ewl/theme/color/classes/count"
00063 
00064 extern Ewl_Config *ewl_config;        
00066 #endif
00067 

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:06 2008