Move struct only used for cache

SVN revision: 56905
This commit is contained in:
Sebastian Dransfeld 2011-02-10 14:24:30 +00:00
parent 3997e75aa9
commit 72ab08256a
3 changed files with 9 additions and 8 deletions

View File

@ -65,3 +65,4 @@
* Check if pattern equals "*" before doing pattern match
* Remove EAPI from efreet_home_dir_get
* Make efreet_cache_icon_theme_free only used in efreet_cache.c static
* Move struct only used for cache to efreet_cache_private.h

View File

@ -16,9 +16,10 @@ EAPI Eet_Data_Descriptor *efreet_icon_theme_edd(Eina_Bool cache);
EAPI Eet_Data_Descriptor *efreet_icon_edd(void);
EAPI Eet_Data_Descriptor *efreet_icon_fallback_edd(void);
typedef struct Efreet_Cache_Icon_Theme Efreet_Cache_Icon_Theme;
typedef struct _Efreet_Cache_Icon_Theme Efreet_Cache_Icon_Theme;
typedef struct _Efreet_Cache_Directory Efreet_Cache_Directory;
struct Efreet_Cache_Icon_Theme
struct _Efreet_Cache_Icon_Theme
{
Efreet_Icon_Theme theme;
@ -33,4 +34,9 @@ struct Efreet_Cache_Icon_Theme
Eina_Bool changed:1; /**< Changed since last seen */
};
struct _Efreet_Cache_Directory
{
long long modified_time;
};
#endif

View File

@ -103,16 +103,10 @@ extern Eina_Hash *efreet_desktop_cache;
#define EFREET_ICON_CACHE_MAJOR 1
#define EFREET_ICON_CACHE_MINOR 0
typedef struct _Efreet_Cache_Directory Efreet_Cache_Directory;
typedef struct _Efreet_Cache_Icon Efreet_Cache_Icon;
typedef struct _Efreet_Cache_Icon_Element Efreet_Cache_Icon_Element;
typedef struct _Efreet_Cache_Fallback_Icon Efreet_Cache_Fallback_Icon;
struct _Efreet_Cache_Directory
{
long long modified_time;
};
struct _Efreet_Cache_Icon
{
const char *theme;