summaryrefslogtreecommitdiffstats
path: root/src/itdb_device.h
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-06-09 19:53:36 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-06-09 19:53:36 +0000
commit3f2830dc026ba5211504261513a74855ccbb098f (patch)
tree1261fe601c0fdc543ca024404b6107245d3d4ead /src/itdb_device.h
parent0a03e8911c53136dd3e17faf2e37aa895285a341 (diff)
downloadlibgpod-tmz-3f2830dc026ba5211504261513a74855ccbb098f.tar.gz
libgpod-tmz-3f2830dc026ba5211504261513a74855ccbb098f.tar.xz
libgpod-tmz-3f2830dc026ba5211504261513a74855ccbb098f.zip
* src/db-artwork-parser.c: remove duplicated artwork/photo support
testing functions * src/db-artwork-parser.h: ditto * src/itdb_itunesdb.c: s/ipod_supports_XXX/itdb_device_supports_XXX * src/itdb_photoalbum.c: ditto * src/itdb.h: use a const Itdb_Device argument for itdb_device_supports_*, add ITDB_IPOD_GENERATION_IPHONE_1 to Itdb_IpodGeneration, get rid of ITDB_IPOD_GENERATION_FIFTH and ITDB_IPOD_GENERATION_SIXTH * src/itdb_device.c: split functions to get artwork format from the ipod in 2 separate functions: instead of itdb_device_get_artwork_formats we now have itdb_device_get_photo_formats and itdb_device_get_cover_art_formats * src/itdb_device.h: * src/db-image-parser.c: use the separate get_cover_art_formats/get_photos_formats functions * src/db-artwork-writer.c: ditto * src/ithumb-writer.c: ditto git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2009 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.h')
-rw-r--r--src/itdb_device.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h
index f6aaf14..85956af 100644
--- a/src/itdb_device.h
+++ b/src/itdb_device.h
@@ -108,10 +108,11 @@ struct _Itdb_ArtworkFormat
gboolean crop;
};
-G_GNUC_INTERNAL const Itdb_ArtworkFormat *itdb_device_get_artwork_formats (Itdb_Device *device);
+G_GNUC_INTERNAL GList *itdb_device_get_photo_formats (const Itdb_Device *device);
+G_GNUC_INTERNAL GList *itdb_device_get_cover_art_formats (const Itdb_Device *device);
G_GNUC_INTERNAL gint itdb_device_musicdirs_number (Itdb_Device *device);
G_GNUC_INTERNAL void itdb_device_autodetect_endianess (Itdb_Device *device);
-G_GNUC_INTERNAL guint64 itdb_device_get_firewire_id (Itdb_Device *device);
+G_GNUC_INTERNAL guint64 itdb_device_get_firewire_id (const Itdb_Device *device);
G_END_DECLS