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 | 924df8a406041b58af100d28a45df8775eab4698 (patch) | |
| tree | 891c46cc83b935787bb7939cd91adddb4fb7fd71 /src/itdb.h | |
| parent | 89fd72c08236360e279847e89edc8402dfa4a04b (diff) | |
| download | libgpod-924df8a406041b58af100d28a45df8775eab4698.tar.gz libgpod-924df8a406041b58af100d28a45df8775eab4698.tar.xz libgpod-924df8a406041b58af100d28a45df8775eab4698.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_... */ |
