X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/77c605cbaad836af7607b17ba41ea69cca66caa0..6162e11fb9ec9ca0f4add4d5838e98a31ead4a21:/ITMTRemote.m?ds=sidebyside diff --git a/ITMTRemote.m b/ITMTRemote.m index fb8e855..b4e2a75 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -64,207 +64,117 @@ return NO; } -- (BOOL)showExternalWindow -{ - return NO; -} - -- (NSString*)externalWindowName +- (ITMTRemotePlayerRunningState)playerRunningState { 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 +- (ITMTRemotePlayerPlayingState)playerPlayingState { 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 +- (NSArray *)playlists { return nil; } -- (NSArray*)playlistNames +- (int)numberOfSongsInPlaylistAtIndex:(int)index { return nil; } -- (NSString*)informationString:(ITMTRemoteInformationString)string; +- (ITMTRemotePlayerSource)currentSource { 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 +- (int)currentSourceIndex { return nil; } -- (BOOL)switchToEqualizerPreset:(int)index +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass { - return NO; + return nil; } -- (ITMTRemoteControlState)controlState +- (int)currentPlaylistIndex { return nil; } -- (ITMTRemotePlaylistMode)playlistMode +- (NSString *)songTitleAtIndex:(int)index { return nil; } -- (NSArray *)playlists +- (int)currentAlbumTrackCount { return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (int)currentSongTrack { return nil; } -- (int)currentPlaylistIndex +- (NSString *)playerStateUniqueIdentifier { return nil; } -- (NSString *)songTitleAtIndex:(int)index +- (int)currentSongIndex { return nil; } -- (int)currentAlbumTrackCount +- (NSString *)currentSongTitle { return nil; } -- (int)currentSongTrack +- (NSString *)currentSongArtist { return nil; } -- (NSString *)currentSongUniqueIdentifier +- (NSString *)currentSongComposer { return nil; } -- (int)currentSongIndex +- (NSString *)currentSongAlbum { return nil; } -- (NSString *)currentSongTitle +- (NSString *)currentSongGenre { return nil; } -- (NSString *)currentSongArtist +- (NSString *)currentSongLength { return nil; } -- (NSString *)currentSongAlbum +- (NSString *)currentSongRemaining { return nil; } -- (NSString *)currentSongGenre +- (NSString *)currentSongElapsed { return nil; } -- (NSString *)currentSongLength +- (NSImage *)currentSongAlbumArt { return nil; } -- (NSString *)currentSongRemaining +- (int)currentSongPlayCount { return nil; } @@ -279,7 +189,7 @@ return NO; } -/* - (BOOL)equalizerEnabled +- (BOOL)equalizerEnabled { return NO; } @@ -287,7 +197,7 @@ - (BOOL)setEqualizerEnabled:(BOOL)enabled { return NO; -} */ +} - (NSArray *)eqPresets { @@ -319,12 +229,12 @@ return NO; } -- (ITMTRemoteRepeatMode)repeatMode +- (ITMTRemotePlayerRepeatMode)repeatMode { - return ITMTRemoteRepeatNone; + return ITMTRemotePlayerRepeatOff; } -- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode +- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode { return NO; } @@ -364,6 +274,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO;