X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/cd6e87dff75957b5863cc2388b6732e840db898e..c3ade301266db044b41f7e21df374fead6ff4d46:/ITMTRemote.h diff --git a/ITMTRemote.h b/ITMTRemote.h index 3e8c9bd..e4d3019 100755 --- a/ITMTRemote.h +++ b/ITMTRemote.h @@ -32,8 +32,9 @@ * @abstract Declares what a MenuTunes Remote must be able to do. * @discussion A MenuTunes Remote must be able to return and change state information. */ - @protocol ITMTRemote + + /*! @method remote * @abstract Returns an autoreleased instance of the remote. * @discussion Should be very quick and compact. @@ -56,7 +57,7 @@ * @abstract Returns a description of the remote. * @result An NSString containing the description. */ -- (NSString *)description; +- (NSString *)information; /*! @method icon: * @abstract Returns a icon for the remote. @@ -76,13 +77,11 @@ */ - (BOOL)halt; -- (NSArray *)sources; -- (int)currentSourceIndex; - -- (NSArray *)playlistsForCurrentSource; +- (int)numberOfSongsInPlaylistAtIndex:(int)index; +- (NSString *)classOfPlaylistAtIndex:(int)index; - (int)currentPlaylistIndex; -- (NSString *)songTitleAtIndex; +- (NSString *)songTitleAtIndex:(int)index; - (int)currentSongIndex; - (NSString *)currentSongTitle; @@ -98,10 +97,7 @@ - (BOOL)pause; - (BOOL)goToNextSong; - (BOOL)goToPreviousSong; -- (BOOL)goToNextPlaylist; -- (BOOL)goToPreviousPlaylist; -- (BOOL)switchToSourceAtIndex:(int)index; - (BOOL)switchToPlaylistAtIndex:(int)index; - (BOOL)switchToSongAtIndex:(int)index; - (BOOL)switchToEQAtIndex:(int)index;