X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/c3ade301266db044b41f7e21df374fead6ff4d46..8c2086efaf1ee7419fc91275fdc7426de3fbe7fd:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index e4d3019..735e11e 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,6 +79,9 @@ */ - (BOOL)halt; +- (PlayerState)playerState; + +- (NSArray *)playlists; - (int)numberOfSongsInPlaylistAtIndex:(int)index; - (NSString *)classOfPlaylistAtIndex:(int)index; - (int)currentPlaylistIndex; @@ -92,11 +97,14 @@ - (NSString *)currentSongRemaining; - (NSArray *)eqPresets; +- (int)currentEQPresetIndex; - (BOOL)play; - (BOOL)pause; - (BOOL)goToNextSong; - (BOOL)goToPreviousSong; +- (BOOL)fastForward; +- (BOOL)rewind; - (BOOL)switchToPlaylistAtIndex:(int)index; - (BOOL)switchToSongAtIndex:(int)index;