diff options
| author | Christophe Fergeau <teuf@gnome.org> | 2005-11-04 09:48:02 +0000 |
|---|---|---|
| committer | Christophe Fergeau <teuf@gnome.org> | 2005-11-04 09:48:02 +0000 |
| commit | be7488f5b7b58f2c17db98650ec85561be83abd1 (patch) | |
| tree | 3ab46585966bebfddb36ea762ff784a23d5c80c9 /src/itdb.h | |
| parent | 7de31d6f7cd87c0722521b1abf2d27cff23468e6 (diff) | |
| download | libgpod-be7488f5b7b58f2c17db98650ec85561be83abd1.tar.gz libgpod-be7488f5b7b58f2c17db98650ec85561be83abd1.tar.xz libgpod-be7488f5b7b58f2c17db98650ec85561be83abd1.zip | |
2005-11-04 Christophe Fergeau <teuf@gnome.org>
* src/ipod-device.c: (ipod_device_new):
* src/ipod-device.h:
* src/itdb.h:
* src/itdb_itunesdb.c: (itdb_free), (itdb_parse),
(itdb_shuffle_write), (itdb_set_mountpoint): added an IpodDevice
element to Itdb_iTunesDB. This makes it possible for libgpod to know
the type (regular/nano/mini/video/...) of the iPod it's currently
dealing with (which is necessary for proper cover art support for
example)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1139 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
| -rw-r--r-- | src/itdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -40,6 +40,8 @@ # include <config.h> #endif +#include "ipod-device.h" + #include <sys/types.h> #include <time.h> #include <glib.h> @@ -337,6 +339,7 @@ typedef struct GList *playlists; gchar *filename; /* filename of iTunesDB */ gchar *mountpoint; /* mountpoint of iPod (if available) */ + IpodDevice *device; gint musicdirs; /* number of /iPod_Control/Music/F.. dirs */ guint32 version; guint64 id; |
