diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 20:11:37 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 20:11:37 +0000 |
commit | 152a04ac175058345adddc8a1f8ed53ec86429f6 (patch) | |
tree | 891c46cc83b935787bb7939cd91adddb4fb7fd71 /src/itdb.h | |
parent | 2395cad46226c7e0ff46e9917b463f865173782a (diff) | |
download | libgpod-tmz-152a04ac175058345adddc8a1f8ed53ec86429f6.tar.gz libgpod-tmz-152a04ac175058345adddc8a1f8ed53ec86429f6.tar.xz libgpod-tmz-152a04ac175058345adddc8a1f8ed53ec86429f6.zip |
Some public API work, hide ItdbThumbType as well as ItdbThumbIpod
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2070 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
-rw-r--r-- | src/itdb.h | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -478,18 +478,6 @@ struct _Itdb_Chapterdata /* one star is how much (track->rating) */ #define ITDB_RATING_STEP 20 -/* Types of thumbnails in Itdb_Image */ -enum _ItdbThumbDataType { - ITDB_THUMB_TYPE_INVALID, - ITDB_THUMB_TYPE_FILE, - ITDB_THUMB_TYPE_MEMORY, - ITDB_THUMB_TYPE_PIXBUF, - ITDB_THUMB_TYPE_IPOD -}; -typedef enum _ItdbThumbDataType ItdbThumbDataType; - - - struct _Itdb_Artwork { Itdb_Thumb *thumbnail; guint32 id; /* Artwork id used by photoalbums, starts at @@ -1210,6 +1198,9 @@ gpointer itdb_artwork_get_pixbuf (Itdb_Device *device, Itdb_Artwork *artwork, /* itdb_thumb_... */ Itdb_Thumb *itdb_thumb_duplicate (Itdb_Thumb *thumb); +gpointer itdb_thumb_to_pixbuf_at_size (Itdb_Device *dev, Itdb_Thumb *thumb, + gint width, gint height); +GList *itdb_thumb_to_pixbufs (Itdb_Device *dev, Itdb_Thumb *thumb); void itdb_thumb_free (Itdb_Thumb *thumb); /* itdb_chapterdata_... */ |