Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv1675/src

Modified Files:
        itdb.h itdb_device.c 
Log Message:
* src/itdb.h
  src/itdb_device.c
  Rename itdb_info_get_ipod_model_name() ->
         itdb_info_get_ipod_model_name_string()
         itdb_info_get_ipod_generation_name() ->
         itdb_info_get_ipod_generation_string()

Input on naming welcome!




Index: itdb.h
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- itdb.h      4 Jun 2006 16:24:44 -0000       1.36
+++ itdb.h      5 Jun 2006 15:14:14 -0000       1.37
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-04 19:21:02 jcs>
+/* Time-stamp: <2006-06-06 00:13:08 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -865,8 +865,8 @@
 gchar *itdb_device_get_sysinfo (Itdb_Device *device, const gchar *field);
 const Itdb_IpodInfo *itdb_device_get_ipod_info (Itdb_Device *device);
 const Itdb_IpodInfo *itdb_info_get_ipod_info_table (void);
-const gchar *itdb_info_get_ipod_model_name (Itdb_IpodModel model);
-const gchar *itdb_info_get_ipod_generation_name (Itdb_IpodGeneration 
generation);
+const gchar *itdb_info_get_ipod_model_name_string (Itdb_IpodModel model);
+const gchar *itdb_info_get_ipod_generation_string (Itdb_IpodGeneration 
generation);
 
 /* track functions */
 Itdb_Track *itdb_track_new (void);

Index: itdb_device.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_device.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- itdb_device.c       4 Jun 2006 16:24:44 -0000       1.6
+++ itdb_device.c       5 Jun 2006 15:14:15 -0000       1.7
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-06-04 19:22:40 jcs>
+/* Time-stamp: <2006-06-06 00:13:09 jcs>
 |
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
@@ -598,14 +598,14 @@
 
 
 /**
- * itdb_info_get_ipod_model_name:
+ * itdb_info_get_ipod_model_string:
  *
  * Return the iPod's generic model name, like "Color", "Nano"...
  *
  * Return value: a pointer to the model name. This is a static string
  * and must not be g_free()d.
  **/
-const gchar *itdb_info_get_ipod_model_name (Itdb_IpodModel model)
+const gchar *itdb_info_get_ipod_model_name_string (Itdb_IpodModel model)
 {
     gint i=0;
 
@@ -621,7 +621,7 @@
 
 
 /**
- * itdb_info_get_ipod_generation_name:
+ * itdb_info_get_ipod_generation_string:
  *
  * Return the iPod's generic generation name, like "First Generation",
  * "Mobile Phone"...
@@ -629,7 +629,7 @@
  * Return value: a pointer to the generation name. This is a static
  * string and must not be g_free()d.
  **/
-const gchar *itdb_info_get_ipod_generation_name (Itdb_IpodGeneration 
generation)
+const gchar *itdb_info_get_ipod_generation_string (Itdb_IpodGeneration 
generation)
 {
     gint i=0;
 



_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to