Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_fileselector.h 


Log Message:
- reformat to be similar to other headers
- remove private struct and functions to end of file instead of start

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_fileselector.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_fileselector.h  21 Dec 2004 04:35:06 -0000      1.18
+++ ewl_fileselector.h  21 Dec 2004 19:58:46 -0000      1.19
@@ -20,26 +20,6 @@
  * @themekey /fileselector/group
  */
 
-/* Private: data for a file */
-
-typedef struct Ewl_Fileselector_Data Ewl_Fileselector_Data;
-
-struct Ewl_Fileselector_Data
-{
-  char  *name; /* name of the file */
-  off_t  size; /* size of the file (bytes) */
-  time_t time; /* last modification */
-  mode_t mode; /* mode of the file (permissions) */
-};
-
-Ewl_Fileselector_Data *ewl_fileselector_data_new(const char *name, off_t  size,
-                                      time_t time, mode_t mode);
-void  ewl_fileselector_data_free (Ewl_Fileselector_Data *d);
-
-
-
-  /* The File Selector */
-
 /**
  * The Ewl_Fileselector provides a fileselector
  */
@@ -57,24 +37,25 @@
  */
 struct Ewl_Fileselector
 {
-  Ewl_Box        box;         /* the box containing the widgets */
-  Ewl_Widget    *list_dirs;   /* directory table */
-  Ewl_Widget    *list_files;  /* file table */
-  Ewl_Widget    *entry_dir;
-  Ewl_Widget    *entry_file;
-  Ewl_Widget    *entry_filter;
+       Ewl_Box        box;         /* the box containing the widgets */
+       Ewl_Widget    *list_dirs;   /* directory table */
+       Ewl_Widget    *list_files;  /* file table */
+       Ewl_Widget    *entry_dir;
+       Ewl_Widget    *entry_file;
+       Ewl_Widget    *entry_filter;
   
-  char          *path;  /* current fileselector path */
-  char          *file;  /* current selected item in the fileselector */
+       char          *path;  /* current fileselector path */
+       char          *file;  /* current selected item in the fileselector */
 };
 
 
 Ewl_Widget *ewl_fileselector_new();
-
 void ewl_fileselector_init(Ewl_Fileselector *fs);
+
 char *ewl_fileselector_path_get(Ewl_Fileselector *fs);
 char *ewl_fileselector_file_get(Ewl_Fileselector *fs);
-void ewl_fileselector_path_set(Ewl_Fileselector *fs, char   *path);
+
+void ewl_fileselector_path_set(Ewl_Fileselector *fs, char *path);
 
 /*
  * Internally used callbacks, override at your own risk.
@@ -88,5 +69,20 @@
 
 void ewl_fileselector_filter_cb(Ewl_Widget *entry, void *ev_data, void 
*user_data);
 
+/* Private: data for a file */
+
+typedef struct Ewl_Fileselector_Data Ewl_Fileselector_Data;
+struct Ewl_Fileselector_Data
+{
+       char  *name; /* name of the file */
+       off_t  size; /* size of the file (bytes) */
+       time_t time; /* last modification */
+       mode_t mode; /* mode of the file (permissions) */
+};
+
+Ewl_Fileselector_Data *ewl_fileselector_data_new(const char *name, off_t  size,
+                                                      time_t time, mode_t 
mode);
+void  ewl_fileselector_data_free (Ewl_Fileselector_Data *d);
+
 #endif /* __EWL_FILESELECTOR_H__ */
 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to