X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/cacee349eceeff2db2146d3b53f39412418a4dde..01755ec0d1d9e0d49d003bd3029162388b720cda:/ITMTRemote.h?ds=sidebyside diff --git a/ITMTRemote.h b/ITMTRemote.h index 8984a68..82da725 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -56,7 +56,9 @@ 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. + * @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. * @constant ITMTRemotePlayerSmartPlaylist A smart playlist is a playlist who's contents are dynamic, based on a set of criteria or updated by a script. These are usually not edited directly by the user, but instead maintained by the player. @@ -74,7 +76,8 @@ typedef enum { ITMTRemoteCDSource, ITMTRemoteRadioSource, ITMTRemoteiPodSource, - ITMTRemoteMP3PlayerSource + ITMTRemoteGenericDeviceSource, + ITMTRemoteSharedLibrarySource } ITMTRemotePlayerSource; /*! @@ -153,7 +156,9 @@ 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 their application. This should return "Audion 3", not simply "Audion". See playerSimpleName. + * @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 */ - (NSString *)playerFullName; @@ -182,7 +187,9 @@ typedef enum { /*! * @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 player's process managment. + * @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. */ - (ITMTRemotePlayerRunningState)playerRunningState; @@ -272,6 +279,16 @@ typedef enum { */ - (NSString *)currentSongRemaining; +/*! + * @method currentSongElapsed + */ +- (NSString *)currentSongElapsed; + +/*! + * @method currentSongAlbumArt + */ +- (NSImage *)currentSongAlbumArt; + /*! * @method currentSongRating */