Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_apps.c e_apps.h Log Message: Add equals function for eapps =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.71 retrieving revision 1.72 diff -u -3 -r1.71 -r1.72 --- e_apps.c 26 Sep 2005 09:13:43 -0000 1.71 +++ e_apps.c 26 Sep 2005 10:03:49 -0000 1.72 @@ -415,6 +415,13 @@ return 0; } +int +e_app_equals(E_App *app1, E_App *app2) +{ + return ((app1 == app2) || (app1->orig == app2) || + (app1 == app2->orig) || (app1->orig == app2->orig)); +} + void e_app_subdir_scan(E_App *a, int scan_subdirs) { =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_apps.h 26 Sep 2005 09:13:43 -0000 1.21 +++ e_apps.h 26 Sep 2005 10:03:49 -0000 1.22 @@ -77,6 +77,7 @@ EAPI E_App *e_app_new(const char *path, int scan_subdirs); EAPI int e_app_is_parent(E_App *parent, E_App *app); +EAPI int e_app_equals(E_App *app1, E_App *app2); EAPI void e_app_subdir_scan(E_App *a, int scan_subdirs); EAPI int e_app_exec(E_App *a, int launch_id); EAPI int e_app_starting_get(E_App *a); ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs