Uncommented the multisource playlist chooser.
[MenuTunes.git] / ITMTRemote.m
index fb8e855..55e599b 100755 (executable)
     return NO;
 }
 
-- (BOOL)showExternalWindow
-{
-    return NO;
-}
-
-- (NSString*)externalWindowName
-{
-    return nil;
-}
-
-- (BOOL)setShuffle:(BOOL)toggle
-{
-    return NO;
-}
-
-- (BOOL)supportsVolume
-{
-    return NO;
-}
-
-- (BOOL)supportsShuffle
-{
-    return NO;
-}
-
-- (BOOL)shuffle
-{
-    return NO;
-}
-
-- (BOOL)setTrackProperty:(ITMTRemoteTrackProperty)property toValue:(id)value atIndex:(int)index
-{
-    return NO;
-}
-
-- (id)trackProperty:(ITMTRemoteTrackProperty)property atIndex:(int)index
-{
-    return nil;
-}
-
-- (BOOL)supportsTrackProperty:(ITMTRemoteTrackProperty)property
-{
-    return NO;
-}
-
-- (BOOL)supportsRepeatMode:(ITMTRemoteRepeatMode)repeatMode
-{
-    return NO;
-}
-
-- (BOOL)sendControlAction:(ITMTRemoteControlAction)action
-{
-    return NO;
-}
-
-- (BOOL)supportsControlAction:(ITMTRemoteControlAction)action
-{
-    return NO;
-}
-
-- (int)indexForTrack:(int)identifier inPlaylist:(int)playlistIndex
-{
-    return 0;
-}
-
-- (NSImage*)icon
+- (ITMTRemotePlayerRunningState)playerRunningState
 {
     return nil;
 }
 
-- (NSArray*)playlistNames
+- (ITMTRemotePlayerPlayingState)playerPlayingState
 {
     return nil;
 }
 
-- (NSString*)informationString:(ITMTRemoteInformationString)string;
-{
-    return nil;
-}
-
-- (BOOL)switchToPlaylist:(int)playlistIndex
-{
-    return 0;
-}
-
-- (BOOL)switchToTrackAtIndex:(int)index
-{
-    return 0;
-}
-
-- (int)identifierForTrackAtIndex:(int)index inPlaylist:(int)playlistIndex
-{
-    return 0;
-}
-
-- (BOOL)supportsCustomEqualizer
-{
-    return NO;
-}
-
-- (BOOL)showEqualizerWindow
-{
-    return NO;
-}
-
-- (BOOL)supportsEqualizerPresets
-{
-    return NO;
-}
-
-- (BOOL)supportsExternalWindow
-{
-    return NO;
-}
-
-- (NSArray*)equalizerPresetNames
+- (NSArray *)playlists
 {
     return nil;
 }
 
-- (BOOL)switchToEqualizerPreset:(int)index
-{
-    return NO;
-}
-
-- (ITMTRemoteControlState)controlState
+- (int)numberOfSongsInPlaylistAtIndex:(int)index
 {
     return nil;
 }
 
-- (ITMTRemotePlaylistMode)playlistMode
+- (ITMTRemotePlayerSource)currentSource
 {
     return nil;
 }
 
-- (NSArray *)playlists
+- (int)currentSourceIndex
 {
     return nil;
 }
 
-- (int)numberOfSongsInPlaylistAtIndex:(int)index
+- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass
 {
     return nil;
 }
     return nil;
 }
 
-- (NSString *)currentSongUniqueIdentifier
+- (NSString *)playerStateUniqueIdentifier
 {
     return nil;
 }
     return nil;
 }
 
+- (NSString *)currentSongElapsed
+{
+    return nil;
+}
+
+- (NSImage *)currentSongAlbumArt
+{
+    return nil;
+}
+
 - (float)currentSongRating
 {
     return nil;
     return NO;
 }
 
-- (ITMTRemoteRepeatMode)repeatMode
+- (ITMTRemotePlayerRepeatMode)repeatMode
 {
-    return ITMTRemoteRepeatNone;
+    return ITMTRemotePlayerRepeatOff;
 }
 
-- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode
+- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
 {
     return NO;
 }
     return NO;
 }
 
+- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2
+{
+    return NO;
+}
+
 - (BOOL)switchToSongAtIndex:(int)index
 {
     return NO;