X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/b28cde9af5f0de2466cb62fa8e43c60fc58bf948..8c8ad0b57aee475a9b03939aa932d96610587c25:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index a24e654..1d76786 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -28,6 +28,8 @@ #import +typedef enum {stopped = -1, paused, playing, rewinding, forwarding} PlayerState; + /*! @protocol ITMTRemote * @abstract Declares what a MenuTunes Remote must be able to do. * @discussion A MenuTunes Remote must be able to return and change state information. @@ -77,14 +79,15 @@ */ - (BOOL)halt; -- (NSArray *)sources; -- (int)currentSourceIndex; -- (NSString *)sourceTypeOfCurrentPlaylist; +- (BOOL)isAppRunning; +- (PlayerState)playerState; -- (NSArray *)playlistsForCurrentSource; +- (NSArray *)playlists; +- (int)numberOfSongsInPlaylistAtIndex:(int)index; +- (NSString *)classOfPlaylistAtIndex:(int)index; - (int)currentPlaylistIndex; -- (NSString *)songTitleAtIndex; +- (NSString *)songTitleAtIndex:(int)index; - (int)currentSongIndex; - (NSString *)currentSongTitle; @@ -95,15 +98,15 @@ - (NSString *)currentSongRemaining; - (NSArray *)eqPresets; +- (int)currentEQPresetIndex; - (BOOL)play; - (BOOL)pause; - (BOOL)goToNextSong; - (BOOL)goToPreviousSong; -- (BOOL)goToNextPlaylist; -- (BOOL)goToPreviousPlaylist; +- (BOOL)fastForward; +- (BOOL)rewind; -- (BOOL)switchToSourceAtIndex:(int)index; - (BOOL)switchToPlaylistAtIndex:(int)index; - (BOOL)switchToSongAtIndex:(int)index; - (BOOL)switchToEQAtIndex:(int)index;