2005-09-19 08:25:23 -07:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
|
2007-08-05 01:07:39 -07:00
|
|
|
typedef struct _E_Configure_Cat E_Configure_Cat;
|
|
|
|
typedef struct _E_Configure_It E_Configure_It;
|
2005-09-20 01:34:23 -07:00
|
|
|
|
2005-09-20 06:12:25 -07:00
|
|
|
#else
|
2005-09-20 01:34:23 -07:00
|
|
|
#ifndef E_CONFIGURE_H
|
|
|
|
#define E_CONFIGURE_H
|
|
|
|
|
2007-08-05 01:07:39 -07:00
|
|
|
struct _E_Configure_Cat
|
|
|
|
{
|
|
|
|
const char *cat;
|
|
|
|
int pri;
|
|
|
|
const char *label;
|
|
|
|
const char *icon_file;
|
|
|
|
const char *icon;
|
2008-10-22 04:49:33 -07:00
|
|
|
Eina_List *items;
|
2007-08-05 01:07:39 -07:00
|
|
|
};
|
2005-09-20 06:12:25 -07:00
|
|
|
|
2007-08-05 01:07:39 -07:00
|
|
|
struct _E_Configure_It
|
2005-09-20 01:34:23 -07:00
|
|
|
{
|
2007-08-05 01:07:39 -07:00
|
|
|
const char *item;
|
|
|
|
int pri;
|
|
|
|
const char *label;
|
|
|
|
const char *icon_file;
|
|
|
|
const char *icon;
|
2011-04-06 15:17:58 -07:00
|
|
|
const char *params;
|
2007-08-05 01:07:39 -07:00
|
|
|
E_Config_Dialog *(*func) (E_Container *con, const char *params);
|
2008-04-30 05:01:32 -07:00
|
|
|
void (*generic_func) (E_Container *con, const char *params);
|
2008-05-23 01:29:45 -07:00
|
|
|
Efreet_Desktop *desktop;
|
2006-11-26 08:10:48 -08:00
|
|
|
};
|
|
|
|
|
2007-07-04 04:11:03 -07:00
|
|
|
EAPI void e_configure_registry_item_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon, E_Config_Dialog *(*func) (E_Container *con, const char *params));
|
2011-04-06 15:17:58 -07:00
|
|
|
EAPI void e_configure_registry_item_params_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon, E_Config_Dialog *(*func) (E_Container *con, const char *params), const char *params);
|
2008-04-30 05:01:32 -07:00
|
|
|
EAPI void e_configure_registry_generic_item_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon, void (*generic_func) (E_Container *con, const char *params));
|
2007-07-03 08:19:09 -07:00
|
|
|
EAPI void e_configure_registry_item_del(const char *path);
|
|
|
|
EAPI void e_configure_registry_category_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon);
|
|
|
|
EAPI void e_configure_registry_category_del(const char *path);
|
2007-07-04 04:11:03 -07:00
|
|
|
EAPI void e_configure_registry_call(const char *path, E_Container *con, const char *params);
|
2007-07-03 08:19:09 -07:00
|
|
|
EAPI int e_configure_registry_exists(const char *path);
|
2008-05-23 01:51:22 -07:00
|
|
|
EAPI void e_configure_registry_custom_desktop_exec_callback_set(void (*func) (const void *data, E_Container *con, const char *params, Efreet_Desktop *desktop), const void *data);
|
2010-11-22 07:21:32 -08:00
|
|
|
EINTERN void e_configure_init(void);
|
2007-08-05 01:07:39 -07:00
|
|
|
|
2009-01-13 08:30:37 -08:00
|
|
|
extern EAPI Eina_List *e_configure_registry;
|
2007-08-05 01:07:39 -07:00
|
|
|
|
2005-09-19 08:25:23 -07:00
|
|
|
#endif
|
|
|
|
#endif
|