X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/6703bfe7928b4a1e570cbf8617ef79c3185accad..8c2086efaf1ee7419fc91275fdc7426de3fbe7fd:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index be50925..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,7 +79,9 @@ */ - (BOOL)halt; -- (int)numberOfPlaylists; +- (PlayerState)playerState; + +- (NSArray *)playlists; - (int)numberOfSongsInPlaylistAtIndex:(int)index; - (NSString *)classOfPlaylistAtIndex:(int)index; - (int)currentPlaylistIndex; @@ -93,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;