X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/77c605cbaad836af7607b17ba41ea69cca66caa0..46b610a25dea1e26f1348dac4024d72514130bb3:/ITMTRemote.m?ds=inline diff --git a/ITMTRemote.m b/ITMTRemote.m index fb8e855..e4ff611 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -64,222 +64,167 @@ 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 +- (NSArray *)playlists { - return 0; + return nil; } -- (NSImage*)icon +- (NSArray *)artists { return nil; } -- (NSArray*)playlistNames +- (NSArray *)albums { return nil; } -- (NSString*)informationString:(ITMTRemoteInformationString)string; +- (int)numberOfSources { return nil; } -- (BOOL)switchToPlaylist:(int)playlistIndex +- (int)numberOfSongsInPlaylistAtIndex:(int)index { - return 0; + return nil; } -- (BOOL)switchToTrackAtIndex:(int)index +- (ITMTRemotePlayerSource)currentSource { - return 0; + return nil; } -- (int)identifierForTrackAtIndex:(int)index inPlaylist:(int)playlistIndex +- (int)currentSourceIndex { - return 0; + return nil; } -- (BOOL)supportsCustomEqualizer +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass { - return NO; + return nil; } -- (BOOL)showEqualizerWindow +- (int)currentPlaylistIndex { - return NO; + return nil; } -- (BOOL)supportsEqualizerPresets +- (NSString *)songTitleAtIndex:(int)index { - return NO; + return nil; } -- (BOOL)supportsExternalWindow +- (BOOL)songEnabledAtIndex:(int)index { - return NO; + return nil; } -- (NSArray*)equalizerPresetNames +- (int)currentAlbumTrackCount { return nil; } -- (BOOL)switchToEqualizerPreset:(int)index -{ - return NO; -} - -- (ITMTRemoteControlState)controlState +- (int)currentSongTrack { return nil; } -- (ITMTRemotePlaylistMode)playlistMode +- (NSString *)playerStateUniqueIdentifier { return nil; } -- (NSArray *)playlists +- (int)currentSongIndex { return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (NSString *)currentSongTitle { return nil; } -- (int)currentPlaylistIndex +- (NSString *)currentSongArtist { return nil; } -- (NSString *)songTitleAtIndex:(int)index +- (NSString *)currentSongComposer { return nil; } -- (int)currentAlbumTrackCount +- (NSString *)currentSongAlbum { return nil; } -- (int)currentSongTrack +- (NSString *)currentSongGenre { return nil; } -- (NSString *)currentSongUniqueIdentifier +- (NSString *)currentSongLength { return nil; } -- (int)currentSongIndex +- (int)currentSongDuration { - return nil; + return -1; } -- (NSString *)currentSongTitle +- (NSString *)currentSongRemaining { return nil; } -- (NSString *)currentSongArtist +- (NSString *)currentSongElapsed { return nil; } -- (NSString *)currentSongAlbum +- (NSImage *)currentSongAlbumArt { return nil; } -- (NSString *)currentSongGenre +- (int)currentSongPlayCount { return nil; } -- (NSString *)currentSongLength +- (float)currentSongRating { return nil; } -- (NSString *)currentSongRemaining +- (BOOL)setCurrentSongRating:(float)rating { - return nil; + return NO; } -- (float)currentSongRating +- (BOOL)currentSongShufflable { - return nil; + return NO; } -- (BOOL)setCurrentSongRating:(float)rating +- (BOOL)setCurrentSongShufflable:(BOOL)shufflable { - return NO; + return NO; } -/* - (BOOL)equalizerEnabled +- (BOOL)equalizerEnabled { return NO; } @@ -287,7 +232,7 @@ - (BOOL)setEqualizerEnabled:(BOOL)enabled { return NO; -} */ +} - (NSArray *)eqPresets { @@ -319,12 +264,12 @@ return NO; } -- (ITMTRemoteRepeatMode)repeatMode +- (ITMTRemotePlayerRepeatMode)repeatMode { - return ITMTRemoteRepeatNone; + return ITMTRemotePlayerRepeatOff; } -- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode +- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode { return NO; } @@ -364,6 +309,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO; @@ -374,4 +324,9 @@ return NO; } +- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type +{ + return NO; +} + @end