diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-02-25 04:27:09 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-02-25 04:27:09 +0000 |
| commit | 2bc0d86724b08fcc9d17cb77c31600e4a282c28f (patch) | |
| tree | d4a2279056c8a47ed39240b93c34e09ba5badc55 /src/itdb.h | |
| parent | ec37641e69e5177b19d1d7dc5778951fc3a9414b (diff) | |
* src/itdb.h
src/itdb_itunesdb.c
src/itdb_playlist.c: introduced splft_binary_and as separate
field type as this will simplify handling in applications.
* src/itdb_itunesdb.c (get_mhod, mk_mhod): replaced
if()... with a switch()... to catch changes made to
SPLFieldType more easily.
* src/itdb.h: introduced Itdb_Mediatype enum.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1398 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb.h')
| -rw-r--r-- | src/itdb.h | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* Time-stamp: <2007-02-24 23:11:13 jcs> +/* Time-stamp: <2007-02-25 13:26:22 jcs> | | Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net> | Part of the gtkpod project. @@ -245,7 +245,8 @@ typedef enum splft_boolean, splft_date, splft_playlist, - splft_unknown + splft_unknown, + splft_binary_and } SPLFieldType; typedef enum @@ -636,6 +637,17 @@ typedef enum } ItdbPlaylistSortOrder; +/* Mediatype definitions */ +typedef enum +{ + ITDB_MEDIATYPE_AUDIO = 0x0001, + ITDB_MEDIATYPE_MOVIE = 0x0002, + ITDB_MEDIATYPE_PODCAST = 0x0004, + ITDB_MEDIATYPE_AUDIOBOOK = 0x0008, + ITDB_MEDIATYPE_MUSICVIDEO = 0x0020, + ITDB_MEDIATYPE_TVSHOW = 0x0040, +} Itdb_Mediatype; + /* some of the descriptive comments below are copied verbatim from http://ipodlinux.org/ITunesDB. http://ipodlinux.org/ITunesDB is the best source for information |
