summaryrefslogtreecommitdiffstats
path: root/src/db-image-parser.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2005-11-28 16:20:40 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2005-11-28 16:20:40 +0000
commit1100f4f45220e6579fffa476d07d719093177852 (patch)
tree1a6daa9453d7e9fe171fdf680c66d63a0eaabc27 /src/db-image-parser.h
parent5c7f231b01799c85a751e14b06fe8adf76f0bc1d (diff)
downloadlibgpod-1100f4f45220e6579fffa476d07d719093177852.tar.gz
libgpod-1100f4f45220e6579fffa476d07d719093177852.tar.xz
libgpod-1100f4f45220e6579fffa476d07d719093177852.zip
New API for thumbnail support: see src/itdb.h for details.
* src/itdb.h: Introduced Itdb_Artwork and ItdbThumbType and changed Itdb_Image to Itdb_Thumb throughout the source. * src/itdb_artwork.c: new file as backend for Itdb_Artwork support (new, free, duplicate, get_thumb_by_type, add_thumbnail, remove_thumbnail, remove_thumbnails), as well as for the Itdb_Thumb support (new, free, duplicate, get_gdk_pixbuf, get_filename) * src/itdb_track.c: new functions for artwork support (set_thumbnails, remove_thumbnails) * src/ithumb-writer.c: added support to write thumbnails in addition to existing thumbnails * src/db-artwork-parcer.c: (mhod3_get_ithmb_filename) * src/itdb_itunesdb.c: (update_artwork_info) * tests/test-covers.c: updated to new API. * tests/test-write-covers.c: updated to new API. Known issues: iTunes wipes off our thumbnails. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1180 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-image-parser.h')
-rw-r--r--src/db-image-parser.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/db-image-parser.h b/src/db-image-parser.h
index 8f3ef1c..3e42c62 100644
--- a/src/db-image-parser.h
+++ b/src/db-image-parser.h
@@ -40,11 +40,10 @@
#define BLUE_SHIFT 0
#define BLUE_MASK (((1 << BLUE_BITS)-1) << BLUE_SHIFT)
-G_GNUC_INTERNAL Itdb_Image *ipod_image_new_from_mhni (MhniHeader *mhni,
+G_GNUC_INTERNAL Itdb_Thumb *ipod_image_new_from_mhni (MhniHeader *mhni,
Itdb_iTunesDB *db);
-G_GNUC_INTERNAL int itdb_write_ithumb_files (Itdb_iTunesDB *db,
- const char *mount_point);
+G_GNUC_INTERNAL int itdb_write_ithumb_files (Itdb_iTunesDB *db);
G_GNUC_INTERNAL const IpodArtworkFormat *ipod_get_artwork_info_from_type (
IpodDevice *ipod, int image_type);