X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/efb3ce634ac7560512f279a48c2201d4f4762351..5b87e582c5b178681b7869f0dc2674ec15056dc3:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index f5a9195..b77fc22 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -57,6 +57,7 @@ typedef enum { * @enum ITMTRemotePlayerPlaylistClass * @abstract Possible playlist classes used by a remote's player * @discussion Used in functions that report the class of a playlist to MenuTunes. While we borrow the terms/descriptions from iTunes, these should work fine with any other player. If your player doesn't support a given type of playlist, then just return + ITMTRemotePlayerPlaylist. * @constant ITMTRemotePlayerLibraryPlaylist For players that have one playlist that contains all of a user's music, or for players that don't have the concept of multiple playlists, this is the class for that "Master" list. * @constant ITMTRemotePlayerPlaylist The generic playlist. Created and maintained by the user. @@ -75,7 +76,7 @@ typedef enum { ITMTRemoteCDSource, ITMTRemoteRadioSource, ITMTRemoteiPodSource, - ITMTRemoteMP3PlayerSource, + ITMTRemoteGenericDeviceSource, ITMTRemoteSharedLibrarySource } ITMTRemotePlayerSource; @@ -156,6 +157,7 @@ typedef enum { * @method playerFullName * @abstract Returns the remote's player's application filename. * @discussion This string should be the name typically used by the remote's player's application bundle/file. For example, Panic's Audion audio player is known simply as "Audion", however, the application bundle is called "Audion 3" for version 3 of thei + r application. This should return "Audion 3", not simply "Audion". See playerSimpleName. * @result An NSString containing the remote's player's application filename */ @@ -186,6 +188,7 @@ r application. This should return "Audion 3", not simply "Audion". See playerSim * @method playerRunningState * @abstract Returns the running state of the remote's player. * @discussion While most remotes will use only ITMTRemotePlayerNotRunning or ITMTRemotePlayerRunning, we have included support for ITMTRemotePlayerLaunching (see ITMTRemotePlayerRunningState) for remotes that want the most precise control over their play + er's process managment. * @result An ITMTRemotePlayerRunningState defining the running state of the remote's player. */ @@ -211,6 +214,11 @@ er's process managment. */ - (ITMTRemotePlayerSource)currentSource; +/*! + * @method currentSourceIndex + */ +- (int)currentSourceIndex; + /*! * @method currentPlaylistClass */ @@ -276,6 +284,16 @@ er's process managment. */ - (NSString *)currentSongRemaining; +/*! + * @method currentSongElapsed + */ +- (NSString *)currentSongElapsed; + +/*! + * @method currentSongAlbumArt + */ +- (NSImage *)currentSongAlbumArt; + /*! * @method currentSongRating */ @@ -361,6 +379,11 @@ er's process managment. */ - (BOOL)switchToPlaylistAtIndex:(int)index; +/*! + * @method switchToPlaylistAtIndex: + */ +//- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2; + /*! * @method switchToSongAtIndex: */