Skip to content

Commit

Permalink
Adding version 10 and updated event codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgn committed Dec 6, 2010
1 parent ae98c94 commit b094460
Show file tree
Hide file tree
Showing 4 changed files with 524 additions and 2 deletions.
18 changes: 16 additions & 2 deletions EyeTunesEventCodes.h
Expand Up @@ -47,7 +47,11 @@ enum {
enum {
kETRepeatModeOff = 'kRp0',
kETRepeatModeOne = 'kRp1',
#if ITUNES_VERSION >= ITUNES_10_0//This might go back further then 10 but that is what I have to test
kETRepeatModeAll = 'kAll'
#else
kETRepeatModeAll = 'kRpA'
#endif
};

enum {
Expand Down Expand Up @@ -85,7 +89,13 @@ enum {
};
#else
enum {
#if ITUNES_VERSION >= ITUNES_10_0//This might go back further then 10 but that is what I have to test
kETSpecialPlaylistNone = 'kNon',
kETSpecialPlaylistGenius = 'kSpG',
kETSpecialPlaylistITunesU = 'kSpU',
#else
kETSpecialPlaylistNone = 'kSpN',
#endif
kETSpecialPlaylistFolder = 'kSpF',
kETSpecialPlaylistPartyShuffle = 'kSpS',
kETSpecialPlaylistPodcasts = 'kSpP',
Expand All @@ -109,8 +119,12 @@ enum {

#if ITUNES_VERSION >= ITUNES_7_0
enum {
kETVideoKindUnknown = 'kVdN',
kETVideoKindMovie = 'kVdM',
#if ITUNES_VERSION >= ITUNES_10_0//This might go back further then 10 but that is what I have to test
kETVideoKindUnknown = 'kNon',
#else
kETVideoKindUnknown = 'kVdN',
#endif
kETVideoKindMovie = 'kVdM',
kETVideoKindMusicVideo = 'kVdV',
kETVideoKindTVShow = 'kVdT',
};
Expand Down
1 change: 1 addition & 0 deletions EyeTunesVersions.h
@@ -1,6 +1,7 @@
/* Useful version constants for iTunes version checking. */

// guard against exporting features that are not in earlier versions
#define ITUNES_10_0 0x1000
#define ITUNES_7_3 0x0730
#define ITUNES_7_2_1 0x0721
#define ITUNES_7_2 0x0720
Expand Down
1 change: 1 addition & 0 deletions iTunes_10.0.0_aete0.sdef

Large diffs are not rendered by default.

0 comments on commit b094460

Please sign in to comment.