Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/esmart
Dir : e17/libs/esmart/src/bin
Modified Files:
esmart_file_dialog_test.c
Log Message:
esmart_file_dialog api tweaks. incompatible, sorry.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/esmart/src/bin/esmart_file_dialog_test.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -3 -r1.1.1.1 -r1.2
--- esmart_file_dialog_test.c 5 May 2004 05:57:01 -0000 1.1.1.1
+++ esmart_file_dialog_test.c 2 May 2005 17:27:41 -0000 1.2
@@ -23,41 +23,41 @@
* @param type the event type that the file dialog dispatched
*/
void
-file_dialog_cb (void *data, Evas_Object * efd, int type)
+file_dialog_cb (void *data, Evas_Object * efd, Esmart_File_Dialog_Op type)
{
Evas_List *l = NULL;
Ecore_Evas *ee = (Ecore_Evas *) data;
switch (type)
{
- case FILE_CANCEL:
+ case ESMART_FILE_DIALOG_CANCEL:
fprintf (stderr, "Cancel Clicked\n");
ecore_main_loop_quit ();
break;
- case FILE_OK:
+ case ESMART_FILE_DIALOG_OK:
for (l = esmart_file_dialog_selections_get (efd); l; l = l->next)
{
fprintf (stderr, "%s\n", (char *) l->data);
}
fprintf (stderr, "OK Clicked\n");
break;
- case FILE_DELETE:
+ case ESMART_FILE_DIALOG_DELETE:
/* FIXME: selectionslist should be one or more directories to delete */
fprintf (stderr, "Delete Clicked\n");
break;
- case FILE_NEW:
+ case ESMART_FILE_DIALOG_NEW:
/* FIXME I guess this should be DIR_NEW, selections list should be of
* length 1, the name of the new directory to make
*/
fprintf (stderr, "New Clicked\n");
break;
- case FILE_RENAME:
+ case ESMART_FILE_DIALOG_RENAME:
/* FIXME selection list should be of length two, the first is the
* current file we'd like to rename to the second
*/
fprintf (stderr, "Rename Clicked\n");
break;
- case DIR_CHANGED:
+ case ESMART_FILE_DIALOG_DIR_CHANGED:
fprintf (stderr, "Directory Changed %s\n",
esmart_file_dialog_current_directory_get (efd));
ecore_evas_title_set (ee,
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs