summaryrefslogtreecommitdiffstats
path: root/src/itdb_thumb.h
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-29 20:11:37 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-29 20:11:37 +0000
commit152a04ac175058345adddc8a1f8ed53ec86429f6 (patch)
tree891c46cc83b935787bb7939cd91adddb4fb7fd71 /src/itdb_thumb.h
parent2395cad46226c7e0ff46e9917b463f865173782a (diff)
downloadlibgpod-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_thumb.h')
-rw-r--r--src/itdb_thumb.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/itdb_thumb.h b/src/itdb_thumb.h
index 940128a..55672ff 100644
--- a/src/itdb_thumb.h
+++ b/src/itdb_thumb.h
@@ -26,6 +26,16 @@
#include "itdb.h"
#include "itdb_device.h"
+/* 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;
+
/* The Itdb_Thumb structure can represent two slightly different
thumbnails:
@@ -105,10 +115,7 @@ G_GNUC_INTERNAL const GList *itdb_thumb_ipod_get_thumbs (Itdb_Thumb_Ipod *thumbs
G_GNUC_INTERNAL char *itdb_thumb_ipod_get_filename (Itdb_Device *device, Itdb_Thumb_Ipod_Item *thumb);
G_GNUC_INTERNAL Itdb_Thumb_Ipod_Item *itdb_thumb_ipod_get_item_by_type (Itdb_Thumb *thumbs,
const Itdb_ArtworkFormat *format);
-G_GNUC_INTERNAL
-gpointer itdb_thumb_ipod_item_to_pixbuf (Itdb_Device *device,
- Itdb_Thumb_Ipod_Item *item);
-gpointer itdb_thumb_to_pixbuf_at_size (Itdb_Device *dev, Itdb_Thumb *thumb,
- gint width, gint height);
-GList *itdb_thumb_ipod_to_pixbufs (Itdb_Device *dev, Itdb_Thumb_Ipod *thumb);
+G_GNUC_INTERNAL gpointer
+itdb_thumb_ipod_item_to_pixbuf (Itdb_Device *device,
+ Itdb_Thumb_Ipod_Item *item);
#endif