* @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.
* @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.
*/
- (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;
- (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;