aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_exec.h')
-rw-r--r--src/bin/e_exec.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/bin/e_exec.h b/src/bin/e_exec.h
index 488c6355e..84378aa1c 100644
--- a/src/bin/e_exec.h
+++ b/src/bin/e_exec.h
@@ -17,15 +17,26 @@ struct _E_Exec_Instance
int screen;
int desk_x, desk_y;
int used;
+ int walking;
+ Eina_List *watchers;
};
+typedef enum
+{
+ E_EXEC_WATCH_STARTED,
+ E_EXEC_WATCH_STOPPED,
+ E_EXEC_WATCH_TIMEOUT
+} E_Exec_Watch_Type;
+
EINTERN int e_exec_init(void);
EINTERN int e_exec_shutdown(void);
EAPI E_Exec_Instance *e_exec(E_Zone *zone, Efreet_Desktop *desktop, const char *exec, Eina_List *files, const char *launch_method);
-
EAPI E_Exec_Instance *e_exec_startup_id_pid_instance_find(int id, pid_t pid);
EAPI Efreet_Desktop *e_exec_startup_id_pid_find(int startup_id, pid_t pid);
-
+EAPI E_Exec_Instance *e_exec_startup_desktop_instance_find(Efreet_Desktop *desktop);
+EAPI void e_exec_instance_found(E_Exec_Instance *inst);
+EAPI void e_exec_instance_watcher_add(E_Exec_Instance *inst, void (*func) (void *data, E_Exec_Instance *inst, E_Exec_Watch_Type type), const void *data);
+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);
#endif
#endif