From ace89adce995bd158ef49390a6438c093bf306b3 Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Thu, 16 Mar 2006 15:34:34 +0000 Subject: * itdb_device.[ch]: rewrote ipod-device.c, removed all hal-code, removed all code irrelevant to writing the iTunesDB and ArtworkDB. * autodetect iControl directory now also works for ArtworkDB. * db-artwork-parser.c (ipod_db_get_artwork_db_path): create Artwork directory if not already present. * itdb.h: Itdb_iTunesDB: moved mountpoint and musicdirs into private Itdb_Device. Use itdb_set_mountpoint() and itdb_get_mountpoint() to access the mountpoint. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1220 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/db-image-parser.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/db-image-parser.h') diff --git a/src/db-image-parser.h b/src/db-image-parser.h index 3e42c62..a8e2fe5 100644 --- a/src/db-image-parser.h +++ b/src/db-image-parser.h @@ -26,6 +26,7 @@ #define IMAGE_PARSER_H #include "db-itunes-parser.h" +#include "itdb_device.h" #include "itdb.h" #define RED_BITS 5 @@ -45,7 +46,7 @@ G_GNUC_INTERNAL Itdb_Thumb *ipod_image_new_from_mhni (MhniHeader *mhni, 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); +G_GNUC_INTERNAL const Itdb_ArtworkFormat *itdb_get_artwork_info_from_type ( + Itdb_Device *ipod, int image_type); #endif -- cgit