forked from enlightenment/enlightenment
parent
c0bb100a15
commit
462b2aa404
33
src/bin/e.h
33
src/bin/e.h
|
@ -25,6 +25,23 @@
|
|||
|
||||
#include "config.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
|
||||
|
||||
#include "e_object.h"
|
||||
#include "e_file.h"
|
||||
#include "e_user.h"
|
||||
|
@ -51,15 +68,15 @@
|
|||
|
||||
typedef struct _E_Before_Idler E_Before_Idler;
|
||||
|
||||
E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
||||
void e_main_idler_before_del(E_Before_Idler *eb);
|
||||
EAPI E_Before_Idler *e_main_idler_before_add(int (*func) (void *data), void *data, int once);
|
||||
EAPI void e_main_idler_before_del(E_Before_Idler *eb);
|
||||
|
||||
extern E_Path *path_data;
|
||||
extern E_Path *path_images;
|
||||
extern E_Path *path_fonts;
|
||||
extern E_Path *path_themes;
|
||||
extern E_Path *path_init;
|
||||
extern int restart;
|
||||
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_init;
|
||||
extern EAPI int restart;
|
||||
|
||||
/* convenience macro to compress code and avoid typos */
|
||||
#define E_FN_DEL(_fn, _h) \
|
||||
|
|
|
@ -43,15 +43,15 @@ struct _E_App
|
|||
unsigned char scanned : 1; /* have we scanned a subdir app yet */
|
||||
};
|
||||
|
||||
int e_app_init(void);
|
||||
int e_app_shutdown(void);
|
||||
EAPI int e_app_init(void);
|
||||
EAPI int e_app_shutdown(void);
|
||||
|
||||
E_App *e_app_new(char *path, int scan_subdirs);
|
||||
void e_app_subdir_scan(E_App *a, int scan_subdirs);
|
||||
int e_app_exec(E_App *a);
|
||||
int e_app_starting_get(E_App *a);
|
||||
int e_app_running_get(E_App *a);
|
||||
EAPI E_App *e_app_new(char *path, int scan_subdirs);
|
||||
EAPI void e_app_subdir_scan(E_App *a, int scan_subdirs);
|
||||
EAPI int e_app_exec(E_App *a);
|
||||
EAPI int e_app_starting_get(E_App *a);
|
||||
EAPI int e_app_running_get(E_App *a);
|
||||
|
||||
void e_app_change_callback_add(void (*func) (void *data, E_App *a, E_App_Change ch), void *data);
|
||||
void e_app_change_callback_del(void (*func) (void *data, E_App *a, E_App_Change ch), void *data);
|
||||
EAPI void e_app_change_callback_add(void (*func) (void *data, E_App *a, E_App_Change ch), void *data);
|
||||
EAPI void e_app_change_callback_del(void (*func) (void *data, E_App *a, E_App_Change ch), void *data);
|
||||
#endif
|
||||
|
|
|
@ -125,25 +125,25 @@ struct _E_Border
|
|||
} changes;
|
||||
};
|
||||
|
||||
int e_border_init(void);
|
||||
int e_border_shutdown(void);
|
||||
EAPI int e_border_init(void);
|
||||
EAPI int e_border_shutdown(void);
|
||||
|
||||
E_Border *e_border_new(E_Container *con, Ecore_X_Window win, int first_map);
|
||||
void e_border_free(E_Border *bd);
|
||||
void e_border_ref(E_Border *bd);
|
||||
void e_border_unref(E_Border *bd);
|
||||
void e_border_show(E_Border *bd);
|
||||
void e_border_hide(E_Border *bd);
|
||||
void e_border_move(E_Border *bd, int x, int y);
|
||||
void e_border_resize(E_Border *bd, int w, int h);
|
||||
void e_border_move_resize(E_Border *bd, int x, int y, int w, int h);
|
||||
void e_border_raise(E_Border *bd);
|
||||
void e_border_lower(E_Border *bd);
|
||||
void e_border_stack_above(E_Border *bd, E_Border *above);
|
||||
void e_border_stack_below(E_Border *bd, E_Border *below);
|
||||
EAPI E_Border *e_border_new(E_Container *con, Ecore_X_Window win, int first_map);
|
||||
EAPI void e_border_free(E_Border *bd);
|
||||
EAPI void e_border_ref(E_Border *bd);
|
||||
EAPI void e_border_unref(E_Border *bd);
|
||||
EAPI void e_border_show(E_Border *bd);
|
||||
EAPI void e_border_hide(E_Border *bd);
|
||||
EAPI void e_border_move(E_Border *bd, int x, int y);
|
||||
EAPI void e_border_resize(E_Border *bd, int w, int h);
|
||||
EAPI void e_border_move_resize(E_Border *bd, int x, int y, int w, int h);
|
||||
EAPI void e_border_raise(E_Border *bd);
|
||||
EAPI void e_border_lower(E_Border *bd);
|
||||
EAPI void e_border_stack_above(E_Border *bd, E_Border *above);
|
||||
EAPI void e_border_stack_below(E_Border *bd, E_Border *below);
|
||||
|
||||
E_Border *e_border_find_by_client_window(Ecore_X_Window win);
|
||||
EAPI E_Border *e_border_find_by_client_window(Ecore_X_Window win);
|
||||
|
||||
void e_border_idler_before(void);
|
||||
EAPI void e_border_idler_before(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
#ifndef E_BOX_H
|
||||
#define E_BOX_H
|
||||
|
||||
Evas_Object *e_box_add (Evas *evas);
|
||||
EAPI Evas_Object *e_box_add (Evas *evas);
|
||||
|
||||
int e_box_freeze (Evas_Object *obj);
|
||||
int e_box_thaw (Evas_Object *obj);
|
||||
void e_box_orientation_set (Evas_Object *obj, int horizontal);
|
||||
void e_box_homogenous_set (Evas_Object *obj, int homogenous);
|
||||
int e_box_pack_start (Evas_Object *obj, Evas_Object *child);
|
||||
int e_box_pack_end (Evas_Object *obj, Evas_Object *child);
|
||||
int e_box_pack_before (Evas_Object *obj, Evas_Object *child, Evas_Object *before);
|
||||
int e_box_pack_after (Evas_Object *obj, Evas_Object *child, Evas_Object *after);
|
||||
int e_box_pack_count_get (Evas_Object *obj);
|
||||
Evas_Object *e_box_pack_object_nth (Evas_Object *obj, int n);
|
||||
Evas_Object *e_box_pack_object_first (Evas_Object *obj);
|
||||
Evas_Object *e_box_pack_object_last (Evas_Object *obj);
|
||||
void e_box_pack_options_set (Evas_Object *obj, int fill_w, int fill_h, int expand_w, int expand_h, double align_x, double align_y, Evas_Coord min_w, Evas_Coord min_h, Evas_Coord max_w, Evas_Coord max_h);
|
||||
void e_box_unpack (Evas_Object *obj);
|
||||
void e_box_min_size_get (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
|
||||
void e_box_max_size_get (Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
|
||||
void e_box_align_get (Evas_Object *obj, double *ax, double *ay);
|
||||
void e_box_align_set (Evas_Object *obj, double ax, double ay);
|
||||
EAPI int e_box_freeze (Evas_Object *obj);
|
||||
EAPI int e_box_thaw (Evas_Object *obj);
|
||||
EAPI void e_box_orientation_set (Evas_Object *obj, int horizontal);
|
||||
EAPI void e_box_homogenous_set (Evas_Object *obj, int homogenous);
|
||||
EAPI int e_box_pack_start (Evas_Object *obj, Evas_Object *child);
|
||||
EAPI int e_box_pack_end (Evas_Object *obj, Evas_Object *child);
|
||||
EAPI int e_box_pack_before (Evas_Object *obj, Evas_Object *child, Evas_Object *before);
|
||||
EAPI int e_box_pack_after (Evas_Object *obj, Evas_Object *child, Evas_Object *after);
|
||||
EAPI int e_box_pack_count_get (Evas_Object *obj);
|
||||
EAPI Evas_Object *e_box_pack_object_nth (Evas_Object *obj, int n);
|
||||
EAPI Evas_Object *e_box_pack_object_first (Evas_Object *obj);
|
||||
EAPI Evas_Object *e_box_pack_object_last (Evas_Object *obj);
|
||||
EAPI void e_box_pack_options_set (Evas_Object *obj, int fill_w, int fill_h, int expand_w, int expand_h, double align_x, double align_y, Evas_Coord min_w, Evas_Coord min_h, Evas_Coord max_w, Evas_Coord max_h);
|
||||
EAPI void e_box_unpack (Evas_Object *obj);
|
||||
EAPI void e_box_min_size_get (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
|
||||
EAPI void e_box_max_size_get (Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
|
||||
EAPI void e_box_align_get (Evas_Object *obj, double *ax, double *ay);
|
||||
EAPI void e_box_align_set (Evas_Object *obj, double ax, double ay);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#ifndef E_CANVAS_H
|
||||
#define E_CANVAS_H
|
||||
|
||||
void e_canvas_add(Ecore_Evas *ee);
|
||||
void e_canvas_del(Ecore_Evas *ee);
|
||||
void e_canvas_recache(void);
|
||||
void e_canvas_cache_flush(void);
|
||||
void e_canvas_cache_reload(void);
|
||||
EAPI void e_canvas_add(Ecore_Evas *ee);
|
||||
EAPI void e_canvas_del(Ecore_Evas *ee);
|
||||
EAPI void e_canvas_recache(void);
|
||||
EAPI void e_canvas_cache_flush(void);
|
||||
EAPI void e_canvas_cache_reload(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
#ifndef E_CONFIG_H
|
||||
#define E_CONFIG_H
|
||||
|
||||
int e_config_init(void);
|
||||
int e_config_shutdown(void);
|
||||
EAPI int e_config_init(void);
|
||||
EAPI int e_config_shutdown(void);
|
||||
|
||||
int e_config_save(void);
|
||||
void e_config_save_queue(void);
|
||||
EAPI int e_config_save(void);
|
||||
EAPI void e_config_save_queue(void);
|
||||
|
||||
extern char *e_config_val_desktop_default_background;
|
||||
extern double e_config_val_menus_scroll_speed;
|
||||
extern double e_config_val_menus_fast_mouse_move_thresthold;
|
||||
extern double e_config_val_menus_click_drag_timeout;
|
||||
extern double e_config_val_framerate;
|
||||
extern int e_config_val_image_cache;
|
||||
extern int e_config_val_font_cache;
|
||||
extern EAPI char *e_config_val_desktop_default_background;
|
||||
extern EAPI double e_config_val_menus_scroll_speed;
|
||||
extern EAPI double e_config_val_menus_fast_mouse_move_thresthold;
|
||||
extern EAPI double e_config_val_menus_click_drag_timeout;
|
||||
extern EAPI double e_config_val_framerate;
|
||||
extern EAPI int e_config_val_image_cache;
|
||||
extern EAPI int e_config_val_font_cache;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -53,29 +53,29 @@ struct _E_Container_Shape_Callback
|
|||
void *data;
|
||||
};
|
||||
|
||||
int e_container_init(void);
|
||||
int e_container_shutdown(void);
|
||||
EAPI int e_container_init(void);
|
||||
EAPI int e_container_shutdown(void);
|
||||
|
||||
E_Container *e_container_new(E_Manager *man);
|
||||
void e_container_show(E_Container *con);
|
||||
void e_container_hide(E_Container *con);
|
||||
void e_container_move(E_Container *con, int x, int y);
|
||||
void e_container_resize(E_Container *con, int w, int h);
|
||||
void e_container_move_resize(E_Container *con, int x, int y, int w, int h);
|
||||
void e_container_raise(E_Container *con);
|
||||
void e_container_lower(E_Container *con);
|
||||
void e_container_bg_reconfigure(E_Container *con);
|
||||
EAPI E_Container *e_container_new(E_Manager *man);
|
||||
EAPI void e_container_show(E_Container *con);
|
||||
EAPI void e_container_hide(E_Container *con);
|
||||
EAPI void e_container_move(E_Container *con, int x, int y);
|
||||
EAPI void e_container_resize(E_Container *con, int w, int h);
|
||||
EAPI void e_container_move_resize(E_Container *con, int x, int y, int w, int h);
|
||||
EAPI void e_container_raise(E_Container *con);
|
||||
EAPI void e_container_lower(E_Container *con);
|
||||
EAPI void e_container_bg_reconfigure(E_Container *con);
|
||||
|
||||
E_Container_Shape *e_container_shape_add(E_Container *con);
|
||||
void e_container_shape_show(E_Container_Shape *es);
|
||||
void e_container_shape_hide(E_Container_Shape *es);
|
||||
void e_container_shape_move(E_Container_Shape *es, int x, int y);
|
||||
void e_container_shape_resize(E_Container_Shape *es, int w, int h);
|
||||
Evas_List *e_container_shape_list_get(E_Container *con);
|
||||
void e_container_shape_geometry_get(E_Container_Shape *es, int *x, int *y, int *w, int *h);
|
||||
E_Container *e_container_shape_container_get(E_Container_Shape *es);
|
||||
void e_container_shape_change_callback_add(E_Container *con, void (*func) (void *data, E_Container_Shape *es, E_Container_Shape_Change ch), void *data);
|
||||
void e_container_shape_change_callback_del(E_Container *con, void (*func) (void *data, E_Container_Shape *es, E_Container_Shape_Change ch), void *data);
|
||||
Evas_List *e_container_shape_rects_get(E_Container_Shape *es);
|
||||
EAPI E_Container_Shape *e_container_shape_add(E_Container *con);
|
||||
EAPI void e_container_shape_show(E_Container_Shape *es);
|
||||
EAPI void e_container_shape_hide(E_Container_Shape *es);
|
||||
EAPI void e_container_shape_move(E_Container_Shape *es, int x, int y);
|
||||
EAPI void e_container_shape_resize(E_Container_Shape *es, int w, int h);
|
||||
EAPI Evas_List *e_container_shape_list_get(E_Container *con);
|
||||
EAPI void e_container_shape_geometry_get(E_Container_Shape *es, int *x, int *y, int *w, int *h);
|
||||
EAPI E_Container *e_container_shape_container_get(E_Container_Shape *es);
|
||||
EAPI void e_container_shape_change_callback_add(E_Container *con, void (*func) (void *data, E_Container_Shape *es, E_Container_Shape_Change ch), void *data);
|
||||
EAPI void e_container_shape_change_callback_del(E_Container *con, void (*func) (void *data, E_Container_Shape *es, E_Container_Shape_Change ch), void *data);
|
||||
EAPI Evas_List *e_container_shape_rects_get(E_Container_Shape *es);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
e_error_dialog_show_internal(title, __tmpbuf); \
|
||||
}
|
||||
|
||||
void e_error_message_show_internal(char *txt);
|
||||
void e_error_dialog_show_internal(char *title, char *txt);
|
||||
EAPI void e_error_message_show_internal(char *txt);
|
||||
EAPI void e_error_dialog_show_internal(char *title, char *txt);
|
||||
|
||||
void e_error_gui_set(int on);
|
||||
void e_error_message_manager_show(E_Manager *man, char *title, char *txt);
|
||||
EAPI void e_error_gui_set(int on);
|
||||
EAPI void e_error_message_manager_show(E_Manager *man, char *title, char *txt);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -5,18 +5,18 @@
|
|||
#include <sys/stat.h>
|
||||
#include <Evas.h>
|
||||
|
||||
time_t e_file_mod_time(char *file);
|
||||
int e_file_exists(char *file);
|
||||
int e_file_is_dir(char *file);
|
||||
int e_file_mkdir(char *dir);
|
||||
int e_file_mkpath(char *path);
|
||||
int e_file_cp(char *src, char *dst);
|
||||
char *e_file_realpath(char *file);
|
||||
char *e_file_get_file(char *path);
|
||||
char *e_file_get_dir(char *path);
|
||||
EAPI time_t e_file_mod_time(char *file);
|
||||
EAPI int e_file_exists(char *file);
|
||||
EAPI int e_file_is_dir(char *file);
|
||||
EAPI int e_file_mkdir(char *dir);
|
||||
EAPI int e_file_mkpath(char *path);
|
||||
EAPI int e_file_cp(char *src, char *dst);
|
||||
EAPI char *e_file_realpath(char *file);
|
||||
EAPI char *e_file_get_file(char *path);
|
||||
EAPI char *e_file_get_dir(char *path);
|
||||
|
||||
int e_file_can_exec(struct stat *st);
|
||||
char *e_file_readlink(char *link);
|
||||
Evas_List *e_file_ls(char *dir);
|
||||
EAPI int e_file_can_exec(struct stat *st);
|
||||
EAPI char *e_file_readlink(char *link);
|
||||
EAPI Evas_List *e_file_ls(char *dir);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef E_FOCUS_H
|
||||
#define E_FOCUS_H
|
||||
|
||||
int e_focus_init(void);
|
||||
int e_focus_shutdown(void);
|
||||
void e_focus_idler_before(void);
|
||||
EAPI int e_focus_init(void);
|
||||
EAPI int e_focus_shutdown(void);
|
||||
EAPI void e_focus_idler_before(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#ifndef E_ICON_H
|
||||
#define E_ICON_H
|
||||
|
||||
Evas_Object *e_icon_add (Evas *evas);
|
||||
void e_icon_file_set (Evas_Object *obj, const char *file);
|
||||
const char *e_icon_file_get (Evas_Object *obj);
|
||||
void e_icon_smooth_scale_set (Evas_Object *obj, int smooth);
|
||||
int e_icon_smooth_scale_get (Evas_Object *obj);
|
||||
void e_icon_size_get (Evas_Object *obj, int *w, int *h);
|
||||
int e_icon_fill_inside_get (Evas_Object *obj);
|
||||
void e_icon_fill_inside_set (Evas_Object *obj, int fill_inside);
|
||||
EAPI Evas_Object *e_icon_add (Evas *evas);
|
||||
EAPI void e_icon_file_set (Evas_Object *obj, const char *file);
|
||||
EAPI const char *e_icon_file_get (Evas_Object *obj);
|
||||
EAPI void e_icon_smooth_scale_set (Evas_Object *obj, int smooth);
|
||||
EAPI int e_icon_smooth_scale_get (Evas_Object *obj);
|
||||
EAPI void e_icon_size_get (Evas_Object *obj, int *w, int *h);
|
||||
EAPI int e_icon_fill_inside_get (Evas_Object *obj);
|
||||
EAPI void e_icon_fill_inside_set (Evas_Object *obj, int fill_inside);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
#ifndef E_INIT_H
|
||||
#define E_INIT_H
|
||||
|
||||
int e_init_init(void);
|
||||
int e_init_shutdown(void);
|
||||
void e_init_show(void);
|
||||
void e_init_hide(void);
|
||||
void e_init_title_set(const char *str);
|
||||
void e_init_version_set(const char *str);
|
||||
void e_init_status_set(const char *str);
|
||||
Ecore_X_Window e_init_window_get(void);
|
||||
EAPI int e_init_init(void);
|
||||
EAPI int e_init_shutdown(void);
|
||||
EAPI void e_init_show(void);
|
||||
EAPI void e_init_hide(void);
|
||||
EAPI void e_init_title_set(const char *str);
|
||||
EAPI void e_init_version_set(const char *str);
|
||||
EAPI void e_init_status_set(const char *str);
|
||||
EAPI Ecore_X_Window e_init_window_get(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef E_INT_MENUS_H
|
||||
#define E_INT_MENUS_H
|
||||
|
||||
E_Menu *e_int_menus_about_new(void);
|
||||
E_Menu *e_int_menus_apps_new(char *dir, int top);
|
||||
EAPI E_Menu *e_int_menus_about_new(void);
|
||||
EAPI E_Menu *e_int_menus_apps_new(char *dir, int top);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef E_IPC_H
|
||||
#define E_IPC_H
|
||||
|
||||
int e_ipc_init(void);
|
||||
void e_ipc_shutdown(void);
|
||||
EAPI int e_ipc_init(void);
|
||||
EAPI void e_ipc_shutdown(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -15,17 +15,17 @@ struct _E_Manager
|
|||
Evas_List *containers;
|
||||
};
|
||||
|
||||
int e_manager_init(void);
|
||||
int e_manager_shutdown(void);
|
||||
Evas_List *e_manager_list(void);
|
||||
EAPI int e_manager_init(void);
|
||||
EAPI int e_manager_shutdown(void);
|
||||
EAPI Evas_List *e_manager_list(void);
|
||||
|
||||
E_Manager *e_manager_new(Ecore_X_Window root);
|
||||
void e_manager_show(E_Manager *man);
|
||||
void e_manager_hide(E_Manager *man);
|
||||
void e_manager_move(E_Manager *man, int x, int y);
|
||||
void e_manager_resize(E_Manager *man, int w, int h);
|
||||
void e_manager_move_resize(E_Manager *man, int x, int y, int w, int h);
|
||||
void e_manager_raise(E_Manager *man);
|
||||
void e_manager_lower(E_Manager *man);
|
||||
EAPI E_Manager *e_manager_new(Ecore_X_Window root);
|
||||
EAPI void e_manager_show(E_Manager *man);
|
||||
EAPI void e_manager_hide(E_Manager *man);
|
||||
EAPI void e_manager_move(E_Manager *man, int x, int y);
|
||||
EAPI void e_manager_resize(E_Manager *man, int w, int h);
|
||||
EAPI void e_manager_move_resize(E_Manager *man, int x, int y, int w, int h);
|
||||
EAPI void e_manager_raise(E_Manager *man);
|
||||
EAPI void e_manager_lower(E_Manager *man);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -104,37 +104,37 @@ struct _E_Menu_Item
|
|||
#define E_MENU_POP_DIRECTION_AUTO 5
|
||||
#define E_MENU_POP_DIRECTION_LAST 6
|
||||
|
||||
int e_menu_init(void);
|
||||
int e_menu_shutdown(void);
|
||||
EAPI int e_menu_init(void);
|
||||
EAPI int e_menu_shutdown(void);
|
||||
|
||||
E_Menu *e_menu_new(void);
|
||||
void e_menu_activate_key(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
void e_menu_activate_mouse(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
void e_menu_activate(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
void e_menu_deactivate(E_Menu *m);
|
||||
int e_menu_freeze(E_Menu *m);
|
||||
int e_menu_thaw(E_Menu *m);
|
||||
void e_menu_title_set(E_Menu *m, char *title);
|
||||
void e_menu_icon_file_set(E_Menu *m, char *icon);
|
||||
void e_menu_pre_activate_callback_set(E_Menu *m, void (*func) (void *data, E_Menu *m), void *data);
|
||||
void e_menu_post_deactivate_callback_set(E_Menu *m, void (*func) (void *data, E_Menu *m), void *data);
|
||||
EAPI E_Menu *e_menu_new(void);
|
||||
EAPI void e_menu_activate_key(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
EAPI void e_menu_activate_mouse(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
EAPI void e_menu_activate(E_Menu *m, E_Container *con, int x, int y, int w, int h, int dir);
|
||||
EAPI void e_menu_deactivate(E_Menu *m);
|
||||
EAPI int e_menu_freeze(E_Menu *m);
|
||||
EAPI int e_menu_thaw(E_Menu *m);
|
||||
EAPI void e_menu_title_set(E_Menu *m, char *title);
|
||||
EAPI void e_menu_icon_file_set(E_Menu *m, char *icon);
|
||||
EAPI void e_menu_pre_activate_callback_set(E_Menu *m, void (*func) (void *data, E_Menu *m), void *data);
|
||||
EAPI void e_menu_post_deactivate_callback_set(E_Menu *m, void (*func) (void *data, E_Menu *m), void *data);
|
||||
|
||||
E_Menu_Item *e_menu_item_new(E_Menu *m);
|
||||
E_Menu_Item *e_menu_item_nth(E_Menu *m, int n);
|
||||
int e_menu_item_num_get(E_Menu_Item *mi);
|
||||
void e_menu_item_icon_file_set(E_Menu_Item *mi, char *icon);
|
||||
void e_menu_item_icon_edje_set(E_Menu_Item *mi, char *icon, char *key);
|
||||
void e_menu_item_label_set(E_Menu_Item *mi, char *label);
|
||||
void e_menu_item_submenu_set(E_Menu_Item *mi, E_Menu *sub);
|
||||
void e_menu_item_separator_set(E_Menu_Item *mi, int sep);
|
||||
void e_menu_item_check_set(E_Menu_Item *mi, int chk);
|
||||
void e_menu_item_radio_set(E_Menu_Item *mi, int rad);
|
||||
void e_menu_item_radio_group_set(E_Menu_Item *mi, int radg);
|
||||
void e_menu_item_toggle_set(E_Menu_Item *mi, int tog);
|
||||
int e_menu_item_toggle_get(E_Menu_Item *mi);
|
||||
void e_menu_item_callback_set(E_Menu_Item *mi, void (*func) (void *data, E_Menu *m, E_Menu_Item *mi), void *data);
|
||||
void e_menu_item_active_set(E_Menu_Item *mi, int active);
|
||||
EAPI E_Menu_Item *e_menu_item_new(E_Menu *m);
|
||||
EAPI E_Menu_Item *e_menu_item_nth(E_Menu *m, int n);
|
||||
EAPI int e_menu_item_num_get(E_Menu_Item *mi);
|
||||
EAPI void e_menu_item_icon_file_set(E_Menu_Item *mi, char *icon);
|
||||
EAPI void e_menu_item_icon_edje_set(E_Menu_Item *mi, char *icon, char *key);
|
||||
EAPI void e_menu_item_label_set(E_Menu_Item *mi, char *label);
|
||||
EAPI void e_menu_item_submenu_set(E_Menu_Item *mi, E_Menu *sub);
|
||||
EAPI void e_menu_item_separator_set(E_Menu_Item *mi, int sep);
|
||||
EAPI void e_menu_item_check_set(E_Menu_Item *mi, int chk);
|
||||
EAPI void e_menu_item_radio_set(E_Menu_Item *mi, int rad);
|
||||
EAPI void e_menu_item_radio_group_set(E_Menu_Item *mi, int radg);
|
||||
EAPI void e_menu_item_toggle_set(E_Menu_Item *mi, int tog);
|
||||
EAPI int e_menu_item_toggle_get(E_Menu_Item *mi);
|
||||
EAPI void e_menu_item_callback_set(E_Menu_Item *mi, void (*func) (void *data, E_Menu *m, E_Menu_Item *mi), void *data);
|
||||
EAPI void e_menu_item_active_set(E_Menu_Item *mi, int active);
|
||||
|
||||
void e_menu_idler_before(void);
|
||||
EAPI void e_menu_idler_before(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -44,18 +44,18 @@ struct _E_Module_Api
|
|||
int version;
|
||||
};
|
||||
|
||||
int e_module_init(void);
|
||||
int e_module_shutdown(void);
|
||||
EAPI int e_module_init(void);
|
||||
EAPI int e_module_shutdown(void);
|
||||
|
||||
E_Module *e_module_new(char *name);
|
||||
int e_module_save(E_Module *m);
|
||||
const char *e_module_dir_get(E_Module *m);
|
||||
int e_module_enable(E_Module *m);
|
||||
int e_module_disable(E_Module *m);
|
||||
int e_module_enabled_get(E_Module *m);
|
||||
int e_module_save_all(void);
|
||||
E_Module *e_module_find(char *name);
|
||||
Evas_List *e_module_list(void);
|
||||
E_Menu *e_module_menu_new(void);
|
||||
EAPI E_Module *e_module_new(char *name);
|
||||
EAPI int e_module_save(E_Module *m);
|
||||
EAPI const char *e_module_dir_get(E_Module *m);
|
||||
EAPI int e_module_enable(E_Module *m);
|
||||
EAPI int e_module_disable(E_Module *m);
|
||||
EAPI int e_module_enabled_get(E_Module *m);
|
||||
EAPI int e_module_save_all(void);
|
||||
EAPI E_Module *e_module_find(char *name);
|
||||
EAPI Evas_List *e_module_list(void);
|
||||
EAPI E_Menu *e_module_menu_new(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -55,17 +55,17 @@ struct _E_Object
|
|||
unsigned char deleted : 1;
|
||||
};
|
||||
|
||||
void *e_object_alloc (int size, E_Object_Cleanup_Func cleanup_func);
|
||||
void e_object_del (E_Object *obj);
|
||||
int e_object_del_get (E_Object *obj);
|
||||
void e_object_del_func_set (E_Object *obj, E_Object_Cleanup_Func del_func);
|
||||
void e_object_free (E_Object *obj);
|
||||
int e_object_ref (E_Object *obj);
|
||||
int e_object_unref (E_Object *obj);
|
||||
int e_object_ref_get (E_Object *obj);
|
||||
int e_object_error (E_Object *obj);
|
||||
void e_object_data_set (E_Object *obj, void *data);
|
||||
void *e_object_data_get (E_Object *obj);
|
||||
void e_object_free_attach_func_set(E_Object *obj, void (*func) (void *obj));
|
||||
EAPI void *e_object_alloc (int size, E_Object_Cleanup_Func cleanup_func);
|
||||
EAPI void e_object_del (E_Object *obj);
|
||||
EAPI int e_object_del_get (E_Object *obj);
|
||||
EAPI void e_object_del_func_set (E_Object *obj, E_Object_Cleanup_Func del_func);
|
||||
EAPI void e_object_free (E_Object *obj);
|
||||
EAPI int e_object_ref (E_Object *obj);
|
||||
EAPI int e_object_unref (E_Object *obj);
|
||||
EAPI int e_object_ref_get (E_Object *obj);
|
||||
EAPI int e_object_error (E_Object *obj);
|
||||
EAPI void e_object_data_set (E_Object *obj, void *data);
|
||||
EAPI void *e_object_data_get (E_Object *obj);
|
||||
EAPI void e_object_free_attach_func_set(E_Object *obj, void (*func) (void *obj));
|
||||
|
||||
#endif
|
||||
|
|
|
@ -12,11 +12,11 @@ struct _E_Path
|
|||
Evas_List *dir_list;
|
||||
};
|
||||
|
||||
E_Path *e_path_new(void);
|
||||
void e_path_path_append(E_Path *ep, const char *path);
|
||||
void e_path_path_prepend(E_Path *ep, const char *path);
|
||||
void e_path_path_remove(E_Path *ep, const char *path);
|
||||
const char *e_path_find(E_Path *ep, const char *file);
|
||||
EAPI E_Path *e_path_new(void);
|
||||
EAPI void e_path_path_append(E_Path *ep, const char *path);
|
||||
EAPI void e_path_path_prepend(E_Path *ep, const char *path);
|
||||
EAPI void e_path_path_remove(E_Path *ep, const char *path);
|
||||
EAPI const char *e_path_find(E_Path *ep, const char *file);
|
||||
|
||||
void e_path_evas_append(E_Path *ep, Evas *evas);
|
||||
EAPI void e_path_evas_append(E_Path *ep, Evas *evas);
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef E_PLACE_H
|
||||
#define E_PLACE_H
|
||||
|
||||
int e_place_container_region_smart(E_Container *con, Evas_List *skiplist, int x, int y, int w, int h, int *rx, int *ry);
|
||||
EAPI int e_place_container_region_smart(E_Container *con, Evas_List *skiplist, int x, int y, int w, int h, int *rx, int *ry);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef E_POINTER_H
|
||||
#define E_POINTER_H
|
||||
|
||||
void e_pointer_container_set(E_Container *con);
|
||||
void e_pointer_ecore_evas_set(Ecore_Evas *ee);
|
||||
EAPI void e_pointer_container_set(E_Container *con);
|
||||
EAPI void e_pointer_ecore_evas_set(Ecore_Evas *ee);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef E_RESIST_H
|
||||
#define E_RESIST_H
|
||||
|
||||
int e_resist_container_position(E_Container *con, Evas_List *skiplist, int px, int py, int pw, int ph, int x, int y, int w, int h, int *rx, int *ry);
|
||||
EAPI int e_resist_container_position(E_Container *con, Evas_List *skiplist, int px, int py, int pw, int ph, int x, int y, int w, int h, int *rx, int *ry);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef E_USER_H
|
||||
#define E_USER_H
|
||||
|
||||
char *e_user_homedir_get(void);
|
||||
EAPI char *e_user_homedir_get(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef E_UTILS_H
|
||||
#define E_UTILS_H
|
||||
|
||||
void e_util_container_fake_mouse_up_later(E_Container *con, int button);
|
||||
void e_util_container_fake_mouse_up_all_later(E_Container *con);
|
||||
void e_util_wakeup(void);
|
||||
EAPI void e_util_container_fake_mouse_up_later(E_Container *con, int button);
|
||||
EAPI void e_util_container_fake_mouse_up_all_later(E_Container *con);
|
||||
EAPI void e_util_wakeup(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -35,4 +35,10 @@ struct _Shadow
|
|||
unsigned char square : 1;
|
||||
};
|
||||
|
||||
EAPI void *init (E_Module *m);
|
||||
EAPI int shutdown (E_Module *m);
|
||||
EAPI int save (E_Module *m);
|
||||
EAPI int info (E_Module *m);
|
||||
EAPI int about (E_Module *m);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -70,4 +70,10 @@ struct _IBar_Icon
|
|||
#define EDGE_LEFT 2
|
||||
#define EDGE_RIGHT 3
|
||||
|
||||
EAPI void *init (E_Module *m);
|
||||
EAPI int shutdown (E_Module *m);
|
||||
EAPI int save (E_Module *m);
|
||||
EAPI int info (E_Module *m);
|
||||
EAPI int about (E_Module *m);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
#ifndef E_MOD_MAIN_H
|
||||
#define E_MOD_MAIN_H
|
||||
|
||||
EAPI void *init (E_Module *m);
|
||||
EAPI int shutdown (E_Module *m);
|
||||
EAPI int save (E_Module *m);
|
||||
EAPI int info (E_Module *m);
|
||||
EAPI int about (E_Module *m);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue