enlightenment: Make E build again with EFL from git

sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
devs/stefan/wl-session-recovery
Chris Michael 8 years ago
parent 93971bb6fc
commit 0a94e8ba71
  1. 50
      src/bin/e.h
  2. 4
      src/bin/e_about.c
  3. 4
      src/bin/e_about.h
  4. 6
      src/bin/e_acpi.c
  5. 6
      src/bin/e_acpi.h
  6. 18
      src/bin/e_actions.c
  7. 18
      src/bin/e_actions.h
  8. 6
      src/bin/e_alert.c
  9. 2
      src/bin/e_alert.h
  10. 22
      src/bin/e_atoms.c
  11. 22
      src/bin/e_atoms.h
  12. 4
      src/bin/e_auth.c
  13. 4
      src/bin/e_auth.h
  14. 16
      src/bin/e_backlight.c
  15. 16
      src/bin/e_backlight.h
  16. 16
      src/bin/e_bg.c
  17. 20
      src/bin/e_bg.h
  18. 120
      src/bin/e_bindings.c
  19. 134
      src/bin/e_bindings.h
  20. 190
      src/bin/e_client.c
  21. 192
      src/bin/e_client.h
  22. 6
      src/bin/e_color.h
  23. 2
      src/bin/e_color_dialog.c
  24. 12
      src/bin/e_color_dialog.h
  25. 66
      src/bin/e_comp.c
  26. 72
      src/bin/e_comp.h
  27. 36
      src/bin/e_comp_canvas.c
  28. 38
      src/bin/e_comp_canvas.h
  29. 8
      src/bin/e_comp_cfdata.c
  30. 8
      src/bin/e_comp_cfdata.h
  31. 94
      src/bin/e_comp_object.c
  32. 94
      src/bin/e_comp_object.h
  33. 10
      src/bin/e_comp_wl.c
  34. 10
      src/bin/e_comp_wl.h
  35. 6
      src/bin/e_comp_wl_input.c
  36. 6
      src/bin/e_comp_wl_input.h
  37. 2
      src/bin/e_comp_x.h
  38. 14
      src/bin/e_comp_x_randr.c
  39. 14
      src/bin/e_comp_x_randr.h
  40. 70
      src/bin/e_config.c
  41. 88
      src/bin/e_config.h
  42. 6
      src/bin/e_config_data.c
  43. 6
      src/bin/e_config_data.h
  44. 10
      src/bin/e_config_dialog.c
  45. 10
      src/bin/e_config_dialog.h
  46. 20
      src/bin/e_configure.c
  47. 20
      src/bin/e_configure.h
  48. 2
      src/bin/e_confirm_dialog.c
  49. 2
      src/bin/e_confirm_dialog.h
  50. 6
      src/bin/e_datastore.c
  51. 6
      src/bin/e_datastore.h
  52. 10
      src/bin/e_dbusmenu.c
  53. 10
      src/bin/e_dbusmenu.h
  54. 64
      src/bin/e_desk.c
  55. 70
      src/bin/e_desk.h
  56. 2
      src/bin/e_deskenv.c
  57. 2
      src/bin/e_deskenv.h
  58. 24
      src/bin/e_desklock.c
  59. 24
      src/bin/e_desklock.h
  60. 16
      src/bin/e_deskmirror.c
  61. 16
      src/bin/e_deskmirror.h
  62. 6
      src/bin/e_desktop_editor.c
  63. 6
      src/bin/e_desktop_editor.h
  64. 26
      src/bin/e_dialog.c
  65. 26
      src/bin/e_dialog.h
  66. 46
      src/bin/e_dnd.c
  67. 46
      src/bin/e_dnd.h
  68. 4
      src/bin/e_dpms.c
  69. 4
      src/bin/e_dpms.h
  70. 2
      src/bin/e_entry_dialog.c
  71. 2
      src/bin/e_entry_dialog.h
  72. 4
      src/bin/e_env.c
  73. 4
      src/bin/e_env.h
  74. 2
      src/bin/e_error.c
  75. 2
      src/bin/e_error.h
  76. 32
      src/bin/e_exec.c
  77. 34
      src/bin/e_exec.h
  78. 24
      src/bin/e_exehist.c
  79. 24
      src/bin/e_exehist.h
  80. 6
      src/bin/e_filereg.c
  81. 6
      src/bin/e_filereg.h
  82. 56
      src/bin/e_flowlayout.c
  83. 54
      src/bin/e_flowlayout.h
  84. 132
      src/bin/e_fm.c
  85. 144
      src/bin/e_fm.h
  86. 19
      src/bin/e_fm/e_fm_ipc.h
  87. 18
      src/bin/e_fm/e_fm_main.c
  88. 25
      src/bin/e_fm/e_fm_main.h
  89. 4
      src/bin/e_fm/e_fm_main_udisks2.c
  90. 27
      src/bin/e_fm_cmdline.c
  91. 12
      src/bin/e_fm_custom.c
  92. 12
      src/bin/e_fm_custom.h
  93. 42
      src/bin/e_fm_device.c
  94. 42
      src/bin/e_fm_device.h
  95. 30
      src/bin/e_fm_mime.c
  96. 30
      src/bin/e_fm_mime.h
  97. 30
      src/bin/e_fm_op_registry.c
  98. 30
      src/bin/e_fm_op_registry.h
  99. 2
      src/bin/e_fm_prop.c
  100. 2
      src/bin/e_fm_prop.h
  101. Some files were not shown because too many files have changed in this diff Show More

@ -131,14 +131,14 @@ void *alloca (size_t);
# include <uuid.h>
# endif
# ifdef EAPI
# undef EAPI
# ifdef E_API
# undef E_API
# endif
# ifdef WIN32
# ifdef BUILDING_DLL
# define EAPI __declspec(dllexport)
# define E_API __declspec(dllexport)
# else
# define EAPI __declspec(dllimport)
# define E_API __declspec(dllimport)
# endif
# else
# ifdef __GNUC__
@ -147,12 +147,12 @@ void *alloca (size_t);
# if 0
# pragma GCC visibility push(hidden)
# endif
# define EAPI __attribute__ ((visibility("default")))
# define E_API __attribute__ ((visibility("default")))
# else
# define EAPI
# define E_API
# endif
# else
# define EAPI
# define E_API
# endif
# endif
@ -296,30 +296,30 @@ typedef struct _E_Rect E_Rect;
# undef E_TYPEDEFS
# include "e_includes.h"
EAPI double e_main_ts(const char *str);
E_API double e_main_ts(const char *str);
struct _E_Rect
{
int x, y, w, h;
};
extern EAPI E_Path *path_data;
extern EAPI E_Path *path_images;
extern EAPI E_Path *path_fonts;
extern EAPI E_Path *path_themes;
extern EAPI E_Path *path_icons;
extern EAPI E_Path *path_modules;
extern EAPI E_Path *path_backgrounds;
extern EAPI E_Path *path_messages;
extern EAPI Eina_Bool good;
extern EAPI Eina_Bool evil;
extern EAPI Eina_Bool starting;
extern EAPI Eina_Bool stopping;
extern EAPI Eina_Bool restart;
extern EAPI Eina_Bool e_nopause;
extern EAPI Eina_Bool e_precache_end;
extern EAPI Eina_Bool x_fatal;
extern E_API E_Path *path_data;
extern E_API E_Path *path_images;
extern E_API E_Path *path_fonts;
extern E_API E_Path *path_themes;
extern E_API E_Path *path_icons;
extern E_API E_Path *path_modules;
extern E_API E_Path *path_backgrounds;
extern E_API E_Path *path_messages;
extern E_API Eina_Bool good;
extern E_API Eina_Bool evil;
extern E_API Eina_Bool starting;
extern E_API Eina_Bool stopping;
extern E_API Eina_Bool restart;
extern E_API Eina_Bool e_nopause;
extern E_API Eina_Bool e_precache_end;
extern E_API Eina_Bool x_fatal;
extern EINTERN const char *e_first_frame;
extern EINTERN double e_first_frame_start_time;

@ -6,7 +6,7 @@
/* externally accessible functions */
EAPI E_About *
E_API E_About *
e_about_new(void)
{
E_Obj_Dialog *od;
@ -110,7 +110,7 @@ e_about_new(void)
return (E_About *)od;
}
EAPI void
E_API void
e_about_show(E_About *about)
{
e_obj_dialog_show((E_Obj_Dialog *)about);

@ -6,8 +6,8 @@ typedef struct _E_Obj_Dialog E_About;
#ifndef E_ABOUT_H
#define E_ABOUT_H
EAPI E_About *e_about_new (void);
EAPI void e_about_show (E_About *about);
E_API E_About *e_about_new (void);
E_API void e_about_show (E_About *about);
#endif
#endif

@ -123,7 +123,7 @@ static E_ACPI_Device_Multiplexed _devices_multiplexed[] =
};
/* public variables */
EAPI int E_EVENT_ACPI = 0;
E_API int E_EVENT_ACPI = 0;
/* public functions */
EINTERN int
@ -200,13 +200,13 @@ e_acpi_lid_is_closed(void)
return lid_is_closed;
}
EAPI void
E_API void
e_acpi_events_freeze(void)
{
_e_acpi_events_frozen++;
}
EAPI void
E_API void
e_acpi_events_thaw(void)
{
_e_acpi_events_frozen--;

@ -73,10 +73,10 @@ EINTERN int e_acpi_shutdown(void);
EINTERN E_Acpi_Lid_Status e_acpi_lid_status_get(void);
EINTERN Eina_Bool e_acpi_lid_is_closed(void);
EAPI void e_acpi_events_freeze(void);
EAPI void e_acpi_events_thaw(void);
E_API void e_acpi_events_freeze(void);
E_API void e_acpi_events_thaw(void);
extern EAPI int E_EVENT_ACPI;
extern E_API int E_EVENT_ACPI;
# endif
#endif

@ -3484,13 +3484,13 @@ e_actions_shutdown(void)
return 1;
}
EAPI Eina_List *
E_API Eina_List *
e_action_name_list(void)
{
return action_names;
}
EAPI E_Action *
E_API E_Action *
e_action_add(const char *name)
{
E_Action *act;
@ -3508,7 +3508,7 @@ e_action_add(const char *name)
return act;
}
EAPI void
E_API void
e_action_del(const char *name)
{
E_Action *act;
@ -3517,7 +3517,7 @@ e_action_del(const char *name)
if (act) _e_action_free(act);
}
EAPI E_Action *
E_API E_Action *
e_action_find(const char *name)
{
E_Action *act;
@ -3526,7 +3526,7 @@ e_action_find(const char *name)
return act;
}
EAPI const char *
E_API const char *
e_action_predef_label_get(const char *action, const char *params)
{
E_Action_Group *actg = NULL;
@ -3552,7 +3552,7 @@ e_action_predef_label_get(const char *action, const char *params)
return NULL;
}
EAPI void
E_API void
e_action_predef_name_set(const char *act_grp, const char *act_name, const char *act_cmd, const char *act_params, const char *param_example, int editable)
{
E_Action_Group *actg = NULL;
@ -3598,7 +3598,7 @@ e_action_predef_name_set(const char *act_grp, const char *act_name, const char *
actg->acts = eina_list_append(actg->acts, actd);
}
EAPI void
E_API void
e_action_predef_name_del(const char *act_grp, const char *act_name)
{
E_Action_Group *actg = NULL;
@ -3637,7 +3637,7 @@ e_action_predef_name_del(const char *act_grp, const char *act_name)
}
}
EAPI void
E_API void
e_action_predef_name_all_del(void)
{
E_Action_Group *actg = NULL;
@ -3660,7 +3660,7 @@ e_action_predef_name_all_del(void)
action_groups = NULL;
}
EAPI Eina_List *
E_API Eina_List *
e_action_groups_get(void)
{
return action_groups;

@ -48,17 +48,17 @@ struct _E_Action_Group
EINTERN int e_actions_init(void);
EINTERN int e_actions_shutdown(void);
EAPI Eina_List *e_action_name_list(void);
EAPI E_Action *e_action_add(const char *name);
E_API Eina_List *e_action_name_list(void);
E_API E_Action *e_action_add(const char *name);
/* e_action_del allows, for example, modules to define their own actions dynamically. */
EAPI void e_action_del(const char *name);
EAPI E_Action *e_action_find(const char *name);
E_API void e_action_del(const char *name);
E_API E_Action *e_action_find(const char *name);
EAPI const char *e_action_predef_label_get(const char *action, const char *params);
EAPI void e_action_predef_name_set(const char *act_grp, const char *act_name, const char *act_cmd, const char *act_params, const char *param_example, int editable);
EAPI void e_action_predef_name_del(const char *act_grp, const char *act_name);
EAPI void e_action_predef_name_all_del(void);
EAPI Eina_List *e_action_groups_get(void);
E_API const char *e_action_predef_label_get(const char *action, const char *params);
E_API void e_action_predef_name_set(const char *act_grp, const char *act_name, const char *act_cmd, const char *act_params, const char *param_example, int editable);
E_API void e_action_predef_name_del(const char *act_grp, const char *act_name);
E_API void e_action_predef_name_all_del(void);
E_API Eina_List *e_action_groups_get(void);
#endif
#endif

@ -2,7 +2,7 @@
#include <sys/wait.h>
/* public variables */
EAPI unsigned long _e_alert_composite_win = 0;
E_API unsigned long _e_alert_composite_win = 0;
EINTERN int
e_alert_init(void)
@ -16,7 +16,7 @@ e_alert_shutdown(void)
return 1;
}
EAPI void
E_API void
e_alert_composite_win(Ecore_X_Window root, Ecore_X_Window comp)
{
#ifndef HAVE_WAYLAND_ONLY
@ -34,7 +34,7 @@ e_alert_composite_win(Ecore_X_Window root, Ecore_X_Window comp)
#endif
}
EAPI void
E_API void
e_alert_show(void)
{
if (!e_nopause)

@ -13,7 +13,7 @@ typedef enum _E_Alert_Op_Type
EINTERN int e_alert_init(void);
EINTERN int e_alert_shutdown(void);
EAPI void e_alert_show(void);
E_API void e_alert_show(void);
#endif
#endif

@ -2,17 +2,17 @@
/* Atoms */
#ifndef HAVE_WAYLAND_ONLY
EAPI Ecore_X_Atom E_ATOM_MANAGED = 0;
EAPI Ecore_X_Atom E_ATOM_ZONE = 0;
EAPI Ecore_X_Atom E_ATOM_DESK = 0;
EAPI Ecore_X_Atom E_ATOM_MAPPED = 0;
EAPI Ecore_X_Atom E_ATOM_SHADE_DIRECTION = 0;
EAPI Ecore_X_Atom E_ATOM_HIDDEN = 0;
EAPI Ecore_X_Atom E_ATOM_BORDER_SIZE = 0;
EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
EAPI Ecore_X_Atom E_ATOM_DESKTOP_FILE = 0;
EAPI Ecore_X_Atom E_ATOM_ZONE_GEOMETRY = 0;
E_API Ecore_X_Atom E_ATOM_MANAGED = 0;
E_API Ecore_X_Atom E_ATOM_ZONE = 0;
E_API Ecore_X_Atom E_ATOM_DESK = 0;
E_API Ecore_X_Atom E_ATOM_MAPPED = 0;
E_API Ecore_X_Atom E_ATOM_SHADE_DIRECTION = 0;
E_API Ecore_X_Atom E_ATOM_HIDDEN = 0;
E_API Ecore_X_Atom E_ATOM_BORDER_SIZE = 0;
E_API Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
E_API Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
E_API Ecore_X_Atom E_ATOM_DESKTOP_FILE = 0;
E_API Ecore_X_Atom E_ATOM_ZONE_GEOMETRY = 0;
#endif
/* externally accessible functions */

@ -4,26 +4,26 @@
#define E_ATOMS_H
/* an "overall" atom to see that we recognise the window */
extern EAPI Ecore_X_Atom E_ATOM_MANAGED;
extern E_API Ecore_X_Atom E_ATOM_MANAGED;
/* basic window properties */
extern EAPI Ecore_X_Atom E_ATOM_ZONE;
extern EAPI Ecore_X_Atom E_ATOM_DESK;
extern EAPI Ecore_X_Atom E_ATOM_MAPPED;
extern EAPI Ecore_X_Atom E_ATOM_SHADE_DIRECTION;
extern EAPI Ecore_X_Atom E_ATOM_HIDDEN;
extern EAPI Ecore_X_Atom E_ATOM_BORDER_SIZE;
extern EAPI Ecore_X_Atom E_ATOM_DESKTOP_FILE;
extern E_API Ecore_X_Atom E_ATOM_ZONE;
extern E_API Ecore_X_Atom E_ATOM_DESK;
extern E_API Ecore_X_Atom E_ATOM_MAPPED;
extern E_API Ecore_X_Atom E_ATOM_SHADE_DIRECTION;
extern E_API Ecore_X_Atom E_ATOM_HIDDEN;
extern E_API Ecore_X_Atom E_ATOM_BORDER_SIZE;
extern E_API Ecore_X_Atom E_ATOM_DESKTOP_FILE;
/* extra e window states */
/* if we add more states, we need to fix
* * e_hints_window_e_state_get()
* * e_hints_window_e_state_set()
* * _e_win_state_update() + e_win
*/
extern EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE;
extern EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED;
extern E_API Ecore_X_Atom E_ATOM_WINDOW_STATE;
extern E_API Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED;
extern EAPI Ecore_X_Atom E_ATOM_ZONE_GEOMETRY;
extern E_API Ecore_X_Atom E_ATOM_ZONE_GEOMETRY;
EINTERN int e_atoms_init(void);
EINTERN int e_atoms_shutdown(void);

@ -130,7 +130,7 @@ _auth_pam_init(E_Auth *da)
}
#endif // HAVE_PAM && !__FreeBSD__
EAPI int
E_API int
#if defined(__FreeBSD__)
e_auth_begin(char *passwd)
{
@ -225,7 +225,7 @@ e_auth_begin(char *passwd EINA_UNUSED)
}
#endif
EAPI char *
E_API char *
e_auth_hostname_get(void)
{
return strdup("localhost");

@ -1,8 +1,8 @@
#ifndef E_AUTH_H
#define E_AUTH_H
EAPI int e_auth_begin(char *passwd);
EAPI char *e_auth_hostname_get(void);
E_API int e_auth_begin(char *passwd);
E_API char *e_auth_hostname_get(void);
static inline int
e_auth_hash_djb2(const char *key, int len)

@ -50,7 +50,7 @@ static int bl_mib[CTL_MAXNAME];
static int bl_mib_len = -1;
#endif
EAPI int E_EVENT_BACKLIGHT_CHANGE = -1;
E_API int E_EVENT_BACKLIGHT_CHANGE = -1;
EINTERN int
e_backlight_init(void)
@ -101,14 +101,14 @@ e_backlight_shutdown(void)
return 1;
}
EAPI Eina_Bool
E_API Eina_Bool
e_backlight_exists(void)
{
if (sysmode == MODE_NONE) return EINA_FALSE;
return EINA_TRUE;
}
EAPI void
E_API void
e_backlight_update(void)
{
if (bl_avail == EINA_FALSE) return;
@ -116,7 +116,7 @@ e_backlight_update(void)
_e_backlight_update();
}
EAPI void
E_API void
e_backlight_level_set(E_Zone *zone, double val, double tim)
{
double bl_now;
@ -154,14 +154,14 @@ e_backlight_level_set(E_Zone *zone, double val, double tim)
bl_anim_toval = val;
}
EAPI double
E_API double
e_backlight_level_get(E_Zone *zone EINA_UNUSED)
{
// zone == NULL == everything
return e_bl_val;
}
EAPI void
E_API void
e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
{
E_Backlight_Mode pmode;
@ -189,14 +189,14 @@ e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
e_backlight_level_set(zone, 1.0, -1.0);
}
EAPI E_Backlight_Mode
E_API E_Backlight_Mode
e_backlight_mode_get(E_Zone *zone EINA_UNUSED)
{
// zone == NULL == everything
return e_config->backlight.mode;
}
EAPI const Eina_List *
E_API const Eina_List *
e_backlight_devices_get(void)
{
return bl_devs;

@ -18,7 +18,7 @@ typedef enum _E_Backlight_Mode
#ifndef E_BACKLIGHT_H
#define E_BACKLIGHT_H
extern EAPI int E_EVENT_BACKLIGHT_CHANGE;
extern E_API int E_EVENT_BACKLIGHT_CHANGE;
//struct _E_Screen
//{
@ -28,13 +28,13 @@ extern EAPI int E_EVENT_BACKLIGHT_CHANGE;
EINTERN int e_backlight_init(void);
EINTERN int e_backlight_shutdown(void);
EAPI Eina_Bool e_backlight_exists(void);
EAPI void e_backlight_update(void);
EAPI void e_backlight_level_set(E_Zone *zone, double val, double tim);
EAPI double e_backlight_level_get(E_Zone *zone);
EAPI void e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode);
EAPI E_Backlight_Mode e_backlight_mode_get(E_Zone *zone);
EAPI const Eina_List *e_backlight_devices_get(void);
E_API Eina_Bool e_backlight_exists(void);
E_API void e_backlight_update(void);
E_API void e_backlight_level_set(E_Zone *zone, double val, double tim);
E_API double e_backlight_level_get(E_Zone *zone);
E_API void e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode);
E_API E_Backlight_Mode e_backlight_mode_get(E_Zone *zone);
E_API const Eina_List *e_backlight_devices_get(void);
#endif
#endif

@ -8,7 +8,7 @@ static int e_bg_handler_test(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUS
static void _e_bg_handler_image_imported(const char *image_path, void *data);
/* local subsystem globals */
EAPI int E_EVENT_BG_UPDATE = 0;
E_API int E_EVENT_BG_UPDATE = 0;
static E_Fm2_Mime_Handler *bg_hdl = NULL;
/* externally accessible functions */
@ -75,7 +75,7 @@ e_bg_shutdown(void)
* Use -1 as a wild card for each parameter.
* The most specific match will be returned
*/
EAPI const E_Config_Desktop_Background *
E_API const E_Config_Desktop_Background *
e_bg_config_get(int zone_num, int desk_x, int desk_y)
{
Eina_List *l, *entries;
@ -140,7 +140,7 @@ e_bg_config_get(int zone_num, int desk_x, int desk_y)
return bg;
}
EAPI Eina_Stringshare *
E_API Eina_Stringshare *
e_bg_file_get(int zone_num, int desk_x, int desk_y)
{
const E_Config_Desktop_Background *cfbg;
@ -188,7 +188,7 @@ e_bg_file_get(int zone_num, int desk_x, int desk_y)
return bgfile;
}
EAPI void
E_API void
e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
{
Evas_Object *o;
@ -289,7 +289,7 @@ end:
eina_stringshare_del(bgfile);
}
EAPI void
E_API void
e_bg_default_set(const char *file)
{
E_Event_Bg_Update *ev;
@ -325,7 +325,7 @@ e_bg_default_set(const char *file)
ecore_event_add(E_EVENT_BG_UPDATE, ev, _e_bg_event_bg_update_free, NULL);
}
EAPI void
E_API void
e_bg_add(int zone, int desk_x, int desk_y, const char *file)
{
const Eina_List *l;
@ -364,7 +364,7 @@ e_bg_add(int zone, int desk_x, int desk_y, const char *file)
ecore_event_add(E_EVENT_BG_UPDATE, ev, _e_bg_event_bg_update_free, NULL);
}
EAPI void
E_API void
e_bg_del(int zone, int desk_x, int desk_y)
{
Eina_List *l;
@ -391,7 +391,7 @@ e_bg_del(int zone, int desk_x, int desk_y)
ecore_event_add(E_EVENT_BG_UPDATE, ev, _e_bg_event_bg_update_free, NULL);
}
EAPI void
E_API void
e_bg_update(void)
{
const Eina_List *l;

@ -15,7 +15,7 @@ typedef struct _E_Bg_Image_Import_Handle E_Bg_Image_Import_Handle;
#ifndef E_BG_H
#define E_BG_H
extern EAPI int E_EVENT_BG_UPDATE;
extern E_API int E_EVENT_BG_UPDATE;
struct _E_Event_Bg_Update
{
@ -27,16 +27,16 @@ struct _E_Event_Bg_Update
EINTERN int e_bg_init(void);
EINTERN int e_bg_shutdown(void);
EAPI const E_Config_Desktop_Background *e_bg_config_get(int zone_num, int desk_x, int desk_y);
EAPI Eina_Stringshare *e_bg_file_get(int zone_num, int desk_x, int desk_y);
EAPI void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition);
EAPI void e_bg_add(int zone, int desk_x, int desk_y, const char *file);
EAPI void e_bg_del(int zone, int desk_x, int desk_y);
EAPI void e_bg_default_set(const char *file);
EAPI void e_bg_update(void);
E_API const E_Config_Desktop_Background *e_bg_config_get(int zone_num, int desk_x, int desk_y);
E_API Eina_Stringshare *e_bg_file_get(int zone_num, int desk_x, int desk_y);
E_API void e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition);
E_API void e_bg_add(int zone, int desk_x, int desk_y, const char *file);
E_API void e_bg_del(int zone, int desk_x, int desk_y);
E_API void e_bg_default_set(const char *file);
E_API void e_bg_update(void);
EAPI E_Bg_Image_Import_Handle *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data);
EAPI void e_bg_image_import_cancel(E_Bg_Image_Import_Handle *handle);
E_API E_Bg_Image_Import_Handle *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data);
E_API void e_bg_image_import_cancel(E_Bg_Image_Import_Handle *handle);
#endif
#endif

@ -100,7 +100,7 @@ e_bindings_shutdown(void)
return 1;
}
EAPI int
E_API int
e_bindings_modifiers_to_ecore_convert(E_Binding_Modifier modifiers)
{
int mod = 0;
@ -116,7 +116,7 @@ e_bindings_modifiers_to_ecore_convert(E_Binding_Modifier modifiers)
return mod;
}
EAPI void
E_API void
e_bindings_ecore_event_mouse_wheel_convert(const Ecore_Event_Mouse_Wheel *ev, E_Binding_Event_Wheel *event)
{
memset(event, 0, sizeof(E_Binding_Event_Wheel));
@ -128,7 +128,7 @@ e_bindings_ecore_event_mouse_wheel_convert(const Ecore_Event_Mouse_Wheel *ev, E_
event->modifiers = _e_bindings_modifiers(ev->modifiers);
}
EAPI void
E_API void
e_bindings_ecore_event_mouse_button_convert(const Ecore_Event_Mouse_Button *ev, E_Binding_Event_Mouse_Button *event)
{
memset(event, 0, sizeof(E_Binding_Event_Mouse_Button));
@ -142,7 +142,7 @@ e_bindings_ecore_event_mouse_button_convert(const Ecore_Event_Mouse_Button *ev,
event->triple_click = !!ev->triple_click;
}
EAPI void
E_API void
e_bindings_evas_event_mouse_wheel_convert(const Evas_Event_Mouse_Wheel *ev, E_Binding_Event_Wheel *event)
{
memset(event, 0, sizeof(E_Binding_Event_Wheel));
@ -177,7 +177,7 @@ e_bindings_evas_event_mouse_wheel_convert(const Evas_Event_Mouse_Wheel *ev, E_Bi
*/
}
EAPI int
E_API int
e_bindings_evas_modifiers_convert(Evas_Modifier *modifiers)
{
int mod = 0;
@ -191,7 +191,7 @@ e_bindings_evas_modifiers_convert(Evas_Modifier *modifiers)
return mod;
}
EAPI void
E_API void
e_bindings_evas_event_mouse_button_convert(const Evas_Event_Mouse_Down *ev, E_Binding_Event_Mouse_Button *event)
{
memset(event, 0, sizeof(E_Binding_Event_Mouse_Button));
@ -226,7 +226,7 @@ e_bindings_evas_event_mouse_button_convert(const Evas_Event_Mouse_Down *ev, E_Bi
*/
}
EAPI void
E_API void
e_bindings_signal_reset(void)
{
E_Config_Binding_Signal *ebs;
@ -255,7 +255,7 @@ e_bindings_signal_reset(void)
}
}
EAPI void
E_API void
e_bindings_acpi_reset(void)
{
E_Config_Binding_Acpi *eba;
@ -268,7 +268,7 @@ e_bindings_acpi_reset(void)
eba->action, eba->params);
}
EAPI void
E_API void
e_bindings_wheel_reset(void)
{
E_Config_Binding_Wheel *ebw;
@ -281,7 +281,7 @@ e_bindings_wheel_reset(void)
ebw->any_mod, ebw->action, ebw->params);
}
EAPI void
E_API void
e_bindings_edge_reset(void)
{
E_Config_Binding_Edge *ebe;
@ -294,7 +294,7 @@ e_bindings_edge_reset(void)
ebe->any_mod, ebe->action, ebe->params, ebe->delay);
}
EAPI void
E_API void
e_bindings_mouse_reset(void)
{
E_Config_Binding_Mouse *ebm;
@ -307,7 +307,7 @@ e_bindings_mouse_reset(void)
ebm->any_mod, ebm->action, ebm->params);
}
EAPI void
E_API void
e_bindings_key_reset(void)
{
E_Config_Binding_Key *ebk;
@ -322,7 +322,7 @@ e_bindings_key_reset(void)
e_comp_canvas_keys_grab();
}
EAPI void
E_API void
e_bindings_reset(void)
{
e_bindings_signal_reset();
@ -332,7 +332,7 @@ e_bindings_reset(void)
e_bindings_key_reset();
}
EAPI void
E_API void
e_bindings_mouse_add(E_Binding_Context ctxt, int button, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Mouse *binding;
@ -347,7 +347,7 @@ e_bindings_mouse_add(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
mouse_bindings = eina_list_append(mouse_bindings, binding);
}
EAPI void
E_API void
e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Mouse *binding;
@ -371,7 +371,7 @@ e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
}
}
EAPI void
E_API void
e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Mouse *binding;
@ -396,7 +396,7 @@ e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI void
E_API void
e_bindings_mouse_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Mouse *binding;
@ -417,7 +417,7 @@ e_bindings_mouse_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_button_find(E_Binding_Context ctxt, E_Binding_Event_Mouse_Button *ev, E_Binding_Mouse **bind_ret)
{
E_Binding_Mouse *binding;
@ -441,7 +441,7 @@ e_bindings_mouse_button_find(E_Binding_Context ctxt, E_Binding_Event_Mouse_Butto
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_down_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Binding_Event_Mouse_Button *ev)
{
E_Action *act;
@ -459,7 +459,7 @@ e_bindings_mouse_down_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Bind
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_down_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, Evas_Event_Mouse_Down *ev)
{
E_Binding_Event_Mouse_Button event;
@ -469,7 +469,7 @@ e_bindings_mouse_down_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, E
return e_bindings_mouse_down_event_handle(ctxt, obj, &event);
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_down_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Event_Mouse_Button *ev)
{
E_Binding_Event_Mouse_Button event;
@ -479,7 +479,7 @@ e_bindings_mouse_down_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj,
return e_bindings_mouse_down_event_handle(ctxt, obj, &event);
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_up_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Binding_Event_Mouse_Button *ev)
{
E_Action *act;
@ -497,7 +497,7 @@ e_bindings_mouse_up_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Bindin
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_up_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, Evas_Event_Mouse_Up *ev)
{
E_Binding_Event_Mouse_Button event;
@ -507,7 +507,7 @@ e_bindings_mouse_up_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, Eva
return e_bindings_mouse_up_event_handle(ctxt, obj, &event);
}
EAPI E_Action *
E_API E_Action *
e_bindings_mouse_up_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Event_Mouse_Button *ev)
{
E_Binding_Event_Mouse_Button event;
@ -517,7 +517,7 @@ e_bindings_mouse_up_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj, Ec
return e_bindings_mouse_up_event_handle(ctxt, obj, &event);
}
EAPI void
E_API void
e_bindings_key_add(E_Binding_Context ctxt, const char *key, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Key *binding;
@ -532,7 +532,7 @@ e_bindings_key_add(E_Binding_Context ctxt, const char *key, E_Binding_Modifier m
key_bindings = eina_list_append(key_bindings, binding);
}
EAPI E_Binding_Key *
E_API E_Binding_Key *
e_bindings_key_get(const char *action)
{
E_Binding_Key *binding;
@ -546,7 +546,7 @@ e_bindings_key_get(const char *action)
return NULL;
}
EAPI E_Binding_Key *
E_API E_Binding_Key *
e_bindings_key_find(const char *key, E_Binding_Modifier mod, int any_mod)
{
E_Binding_Key *binding;
@ -564,7 +564,7 @@ e_bindings_key_find(const char *key, E_Binding_Modifier mod, int any_mod)
return NULL;
}
EAPI void
E_API void
e_bindings_key_del(E_Binding_Context ctxt, const char *key, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Key *binding;
@ -588,7 +588,7 @@ e_bindings_key_del(E_Binding_Context ctxt, const char *key, E_Binding_Modifier m
}
}
EAPI void
E_API void
e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Key *binding;
@ -612,7 +612,7 @@ e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI void
E_API void
e_bindings_key_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Key *binding;
@ -636,7 +636,7 @@ e_bindings_key_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI E_Action *
E_API E_Action *
e_bindings_key_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Event_Key *ev)
{
E_Binding_Modifier mod = 0;
@ -669,7 +669,7 @@ e_bindings_key_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Ev
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_key_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Event_Key *ev)
{
E_Binding_Modifier mod = 0;
@ -702,7 +702,7 @@ e_bindings_key_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Even
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_key_down_event_find(E_Binding_Context ctxt, Ecore_Event_Key *ev)
{
E_Binding_Modifier mod = 0;
@ -727,7 +727,7 @@ e_bindings_key_down_event_find(E_Binding_Context ctxt, Ecore_Event_Key *ev)
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_key_up_event_find(E_Binding_Context ctxt, Ecore_Event_Key *ev)
{
E_Binding_Modifier mod = 0;
@ -752,7 +752,7 @@ e_bindings_key_up_event_find(E_Binding_Context ctxt, Ecore_Event_Key *ev)
return NULL;
}
EAPI Eina_Bool
E_API Eina_Bool
e_bindings_key_allowed(const char *key)
{
if (!key) return EINA_FALSE;
@ -779,7 +779,7 @@ e_bindings_key_allowed(const char *key)
}
EAPI void
E_API void
e_bindings_edge_add(E_Binding_Context ctxt, E_Zone_Edge edge, Eina_Bool drag_only, E_Binding_Modifier mod, int any_mod, const char *action, const char *params, float delay)
{
E_Binding_Edge *binding;
@ -798,7 +798,7 @@ e_bindings_edge_add(E_Binding_Context ctxt, E_Zone_Edge edge, Eina_Bool drag_onl
e_zone_edge_new(edge);
}
EAPI Eina_Bool
E_API Eina_Bool
e_bindings_edge_flippable_get(E_Zone_Edge edge)
{
E_Binding_Edge *binding;
@ -816,7 +816,7 @@ e_bindings_edge_flippable_get(E_Zone_Edge edge)
return EINA_FALSE;
}
EAPI Eina_Bool
E_API Eina_Bool
e_bindings_edge_non_flippable_get(E_Zone_Edge edge)
{
E_Binding_Edge *binding;
@ -835,7 +835,7 @@ e_bindings_edge_non_flippable_get(E_Zone_Edge edge)
return EINA_FALSE;
}
EAPI E_Binding_Edge *
E_API E_Binding_Edge *
e_bindings_edge_get(const char *action, E_Zone_Edge edge, int click)
{
E_Binding_Edge *binding;
@ -853,7 +853,7 @@ e_bindings_edge_get(const char *action, E_Zone_Edge edge, int click)
return NULL;
}
EAPI void
E_API void
e_bindings_edge_del(E_Binding_Context ctxt, E_Zone_Edge edge, Eina_Bool drag_only, E_Binding_Modifier mod, int any_mod, const char *action, const char *params, float delay)
{
E_Binding_Edge *binding;
@ -885,7 +885,7 @@ e_bindings_edge_del(E_Binding_Context ctxt, E_Zone_Edge edge, Eina_Bool drag_onl
e_zone_edge_free(edge);
}
EAPI E_Action *
E_API E_Action *
e_bindings_edge_in_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Zone_Edge *ev)
{
E_Binding_Modifier mod = 0;
@ -935,7 +935,7 @@ e_bindings_edge_in_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Z
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_edge_out_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Zone_Edge *ev)
{
E_Binding_Modifier mod = 0;
@ -977,7 +977,7 @@ e_bindings_edge_out_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_edge_down_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Zone_Edge *ev)
{
E_Binding_Modifier mod = 0;
@ -1014,7 +1014,7 @@ e_bindings_edge_down_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_edge_up_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Zone_Edge *ev)
{
E_Binding_Modifier mod = 0;
@ -1042,7 +1042,7 @@ e_bindings_edge_up_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Z
return act;
}
EAPI void
E_API void
e_bindings_signal_add(E_Binding_Context ctxt, const char *sig, const char *src, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Signal *binding;
@ -1058,7 +1058,7 @@ e_bindings_signal_add(E_Binding_Context ctxt, const char *sig, const char *src,
signal_bindings = eina_list_append(signal_bindings, binding);
}
EAPI void
E_API void
e_bindings_signal_del(E_Binding_Context ctxt, const char *sig, const char *src, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Signal *binding;
@ -1085,7 +1085,7 @@ e_bindings_signal_del(E_Binding_Context ctxt, const char *sig, const char *src,
}
}
EAPI E_Action *
E_API E_Action *
e_bindings_signal_find(E_Binding_Context ctxt, const char *sig, const char *src, E_Binding_Signal **bind_ret)
{
E_Binding_Modifier mod = 0;
@ -1115,7 +1115,7 @@ e_bindings_signal_find(E_Binding_Context ctxt, const char *sig, const char *src,
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_signal_handle(E_Binding_Context ctxt, E_Object *obj, const char *sig, const char *src)
{
E_Action *act;
@ -1136,7 +1136,7 @@ e_bindings_signal_handle(E_Binding_Context ctxt, E_Object *obj, const char *sig,
return act;
}
EAPI void
E_API void
e_bindings_wheel_add(E_Binding_Context ctxt, int direction, int z, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Wheel *binding;
@ -1152,7 +1152,7 @@ e_bindings_wheel_add(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
wheel_bindings = eina_list_append(wheel_bindings, binding);
}
EAPI void
E_API void
e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Modifier mod, int any_mod, const char *action, const char *params)
{
E_Binding_Wheel *binding;
@ -1177,7 +1177,7 @@ e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
}
}
EAPI void
E_API void
e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Wheel *binding;
@ -1216,7 +1216,7 @@ e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI void
E_API void
e_bindings_wheel_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
E_Binding_Wheel *binding;
@ -1254,7 +1254,7 @@ e_bindings_wheel_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
#endif
}
EAPI E_Action *
E_API E_Action *
e_bindings_wheel_find(E_Binding_Context ctxt, E_Binding_Event_Wheel *ev, E_Binding_Wheel **bind_ret)
{
E_Binding_Wheel *binding;
@ -1279,7 +1279,7 @@ e_bindings_wheel_find(E_Binding_Context ctxt, E_Binding_Event_Wheel *ev, E_Bindi
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_wheel_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Binding_Event_Wheel *ev)
{
E_Action *act;
@ -1297,7 +1297,7 @@ e_bindings_wheel_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Binding_E
return act;
}
EAPI E_Action *
E_API E_Action *
e_bindings_wheel_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, Evas_Event_Mouse_Wheel *ev)
{
E_Binding_Event_Wheel event;
@ -1307,7 +1307,7 @@ e_bindings_wheel_evas_event_handle(E_Binding_Context ctxt, E_Object *obj, Evas_E
return e_bindings_wheel_event_handle(ctxt, obj, &event);
}
EAPI E_Action *
E_API E_Action *
e_bindings_wheel_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_Event_Mouse_Wheel *ev)
{
E_Binding_Event_Wheel event;
@ -1317,7 +1317,7 @@ e_bindings_wheel_ecore_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore
return e_bindings_wheel_event_handle(ctxt, obj, &event);
}
EAPI void
E_API void
e_bindings_acpi_add(E_Binding_Context ctxt, int type, int status, const char *action, const char *params)
{
E_Binding_Acpi *binding;
@ -1331,7 +1331,7 @@ e_bindings_acpi_add(E_Binding_Context ctxt, int type, int status, const char *ac
acpi_bindings = eina_list_append(acpi_bindings, binding);
}
EAPI void
E_API void
e_bindings_acpi_del(E_Binding_Context ctxt, int type, int status, const char *action, const char *params)
{
E_Binding_Acpi *binding;
@ -1353,7 +1353,7 @@ e_bindings_acpi_del(E_Binding_Context ctxt, int type, int status, const char *ac
}
}
EAPI E_Action *
E_API E_Action *
e_bindings_acpi_find(E_Binding_Context ctxt, E_Event_Acpi *ev, E_Binding_Acpi **bind_ret)
{
E_Binding_Acpi *binding;
@ -1382,7 +1382,7 @@ e_bindings_acpi_find(E_Binding_Context ctxt, E_Event_Acpi *ev, E_Binding_Acpi **
return NULL;
}
EAPI E_Action *
E_API E_Action *
e_bindings_acpi_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Event_Acpi *ev)