add e_exec_instances_get

devs/sachiel/e19
Mike Blumenkrantz 10 years ago
parent a054dc059c
commit dec3ed65ed
  1. 6
      src/bin/e_exec.c
  2. 2
      src/bin/e_exec.h

@ -1207,3 +1207,9 @@ e_exec_desktop_instances_find(const Efreet_Desktop *desktop)
EINA_SAFETY_ON_NULL_RETURN_VAL(desktop, NULL);
return eina_hash_find(e_exec_instances, desktop->orig_path);
}
EAPI const Eina_Hash *
e_exec_instances_get(void)
{
return e_exec_instances;
}

@ -45,6 +45,8 @@ EAPI void e_exec_instance_watcher_add(E_Exec_Instance *inst, void (*func) (void
EAPI void e_exec_instance_watcher_del(E_Exec_Instance *inst, void (*func) (void *data, E_Exec_Instance *inst, E_Exec_Watch_Type type), const void *data);
EAPI const Eina_List *e_exec_desktop_instances_find(const Efreet_Desktop *desktop);
EAPI const Eina_Hash *e_exec_instances_get(void);
/* sends E_Exec_Instance */
EAPI extern int E_EVENT_EXEC_NEW;
EAPI extern int E_EVENT_EXEC_DEL;

Loading…
Cancel
Save