summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-17 23:05:51 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-17 23:05:51 +0000
commit8a8025c6d84e49b264d1e1974e64869123cb67fc (patch)
treec8e63b0e395bdd68f9bd0fffb3a40c7f61e29fe4 /src/bin/e_bg.h
parent9710ec6536b0df66d6b0748ead00b542aa3ed4a6 (diff)
downloadenlightenment-8a8025c6d84e49b264d1e1974e64869123cb67fc.tar.gz
e_bg: improvements and start import process (unfinished!)
I ran out of time, so if someone wants to finish the move of e_int_config_wallpaper_import.c to standard e_bg.c I appreciate the help. Skeleton is there. With this, it is possible to remove code from conf_wallpaper and have that functionality in both wallpaper and wallpaper2. SVN revision: 44527
Diffstat (limited to 'src/bin/e_bg.h')
-rw-r--r--src/bin/e_bg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bin/e_bg.h b/src/bin/e_bg.h
index 9323c70f32..319cbabf52 100644
--- a/src/bin/e_bg.h
+++ b/src/bin/e_bg.h
@@ -12,6 +12,8 @@ typedef enum {
typedef struct _E_Event_Bg_Update E_Event_Bg_Update;
+typedef struct _E_Bg_Image_Import E_Bg_Image_Import;
+
#else
#ifndef E_BG_H
#define E_BG_H
@@ -33,12 +35,14 @@ EAPI const E_Config_Desktop_Background *e_bg_config_get(int container_num, int z
EAPI const char *e_bg_file_get(int container_num, 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_zone_slide(E_Zone *zone, int prev_x, int prev_y);
-EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, char *file);
+EAPI void e_bg_add(int container, int zone, int desk_x, int desk_y, const char *file);
EAPI void e_bg_del(int container, int zone, int desk_x, int desk_y);
-EAPI void e_bg_default_set(char *file);
+EAPI void e_bg_default_set(const char *file);
EAPI void e_bg_update(void);
EAPI void e_bg_handler_set(Evas_Object *obj, const char *path, void *data);
EAPI int e_bg_handler_test(Evas_Object *obj, const char *path, void *data);
+EAPI E_Bg_Image_Import *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data);
+
#endif
#endif