#ifndef _E_H #define _E_H #ifdef EAPI #undef EAPI #endif #ifdef WIN32 # ifdef BUILDING_DLL # define EAPI __declspec(dllexport) # else # define EAPI __declspec(dllimport) # endif #else # ifdef GCC_HASCLASSVISIBILITY # define EAPI __attribute__ ((visibility("default"))) # else # define EAPI # endif #endif typedef struct _E_Response_Module_List E_Response_Module_List; typedef struct _E_Response_Module_Data E_Response_Module_Data; typedef struct _E_Response_Dirs_List E_Response_Dirs_List; typedef struct _E_Response_Background_Get E_Response_Background_Get; typedef struct _E_Response_Language_Get E_Response_Language_Get; typedef struct _E_Response_Theme_Get E_Response_Theme_Get; struct _E_Response_Module_List { E_Response_Module_Data **modules; int count; }; struct _E_Response_Module_Data { char *name; char enabled; }; struct _E_Response_Dirs_List { char **dirs; int count; }; struct _E_Response_Background_Get { char *file; }; struct _E_Response_Theme_Get { char *file; char *category; }; struct _E_Response_Language_Get { char *lang; }; extern EAPI int E_RESPONSE_MODULE_LIST; extern EAPI int E_RESPONSE_BACKGROUND_GET; extern EAPI int E_RESPONSE_LANGUAGE_GET; extern EAPI int E_RESPONSE_THEME_GET; extern EAPI int E_RESPONSE_DATA_DIRS_LIST; extern EAPI int E_RESPONSE_IMAGE_DIRS_LIST; extern EAPI int E_RESPONSE_FONT_DIRS_LIST; extern EAPI int E_RESPONSE_THEME_DIRS_LIST; extern EAPI int E_RESPONSE_INIT_DIRS_LIST; extern EAPI int E_RESPONSE_ICON_DIRS_LIST; extern EAPI int E_RESPONSE_MODULE_DIRS_LIST; extern EAPI int E_RESPONSE_BACKGROUND_DIRS_LIST; #ifdef __cplusplus extern "C" { #endif /* library startup and shutdown */ EAPI int e_lib_init (const char *display); EAPI int e_lib_shutdown (void); /* E startup and shutdown */ EAPI void e_lib_restart (void); EAPI void e_lib_quit (void); /* E module manipulation */ EAPI void e_lib_module_enabled_set (const char *module, int enable); EAPI void e_lib_module_loaded_set (const char *module, int load); EAPI void e_lib_module_list (void); /* E desktop manipulation */ EAPI void e_lib_background_set (const char *bgfile); EAPI void e_lib_background_get (void); EAPI void e_lib_desktop_background_add (const int con, const int zone, const int desk_x, const int desk_y, const char *bgfile); EAPI void e_lib_desktop_background_del (const int con, const int zone, const int desk_x, const int desk_y); /* E current theme manipulation */ EAPI void e_lib_theme_set (const char *category, const char *file); EAPI void e_lib_theme_get (const char *category); /* languages */ EAPI void e_lib_language_set (const char *lang); EAPI void e_lib_language_get (void); /* E path information */ EAPI void e_lib_data_dirs_list (void); EAPI void e_lib_image_dirs_list (void); EAPI void e_lib_font_dirs_list (void); EAPI void e_lib_theme_dirs_list (void); EAPI void e_lib_init_dirs_list (void); EAPI void e_lib_icon_dirs_list (void); EAPI void e_lib_module_dirs_list (void); EAPI void e_lib_background_dirs_list (void); #ifdef __cplusplus } #endif #endif