X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/e740c3a87c5e9bcf4ef1751b37545fc616592e6c..8c2086efaf1ee7419fc91275fdc7426de3fbe7fd:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index 9b36236..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,8 @@ */ - (BOOL)halt; +- (PlayerState)playerState; + - (NSArray *)playlists; - (int)numberOfSongsInPlaylistAtIndex:(int)index; - (NSString *)classOfPlaylistAtIndex:(int)index; @@ -99,6 +103,8 @@ - (BOOL)pause; - (BOOL)goToNextSong; - (BOOL)goToPreviousSong; +- (BOOL)fastForward; +- (BOOL)rewind; - (BOOL)switchToPlaylistAtIndex:(int)index; - (BOOL)switchToSongAtIndex:(int)index;