X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/fb67a5518acfe2abf1f426ec7cf7b9a80ff74dc3..b20e553e320fc791b9e91b512426e0503ae9b67b:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index c58ab65..8984a68 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -69,6 +69,14 @@ typedef enum { ITMTRemotePlayerRadioPlaylist } ITMTRemotePlayerPlaylistClass; +typedef enum { + ITMTRemoteLibrarySource = -1, + ITMTRemoteCDSource, + ITMTRemoteRadioSource, + ITMTRemoteiPodSource, + ITMTRemoteMP3PlayerSource +} ITMTRemotePlayerSource; + /*! * @enum ITMTRemotePlayerRepeatMode * @abstract Possible repeat modes for the remote's player. @@ -195,9 +203,14 @@ typedef enum { - (int)numberOfSongsInPlaylistAtIndex:(int)index; /*! - * @method classOfPlaylistAtIndex: + * @method currentSource + */ +- (ITMTRemotePlayerSource)currentSource; + +/*! + * @method currentPlaylistClass */ -- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index; +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass; /*! * @method currentPlaylistIndex @@ -220,9 +233,9 @@ typedef enum { - (int)currentSongTrack; /*! - * @method currentSongUniqueIdentifier: + * @method playerStateUniqueIdentifier: */ -- (NSString *)currentSongUniqueIdentifier; +- (NSString *)playerStateUniqueIdentifier; /*! * @method currentSongIndex