X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8b06c48ba29b681cd97ca543733467e2a6c6cd0a..1241f4136652ac9629457a83953d8f8bf3889bdd:/ITMTRemote.m?ds=inline diff --git a/ITMTRemote.m b/ITMTRemote.m index 3c49e72..26fe9a0 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -2,11 +2,6 @@ @implementation ITMTRemote -+ (void)initialize -{ -[self setVersion:2]; -} - + (id)remote { return nil; @@ -69,207 +64,112 @@ 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 -{ - return NO; -} - -- (ITMTRemoteControlState)controlState +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass { return nil; } -- (ITMTRemotePlaylistMode)playlistMode +- (int)currentPlaylistIndex { return nil; } -- (NSArray *)playlists +- (NSString *)songTitleAtIndex:(int)index { return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (int)currentAlbumTrackCount { return nil; } -- (int)currentPlaylistIndex +- (int)currentSongTrack { return nil; } -- (NSString *)songTitleAtIndex:(int)index +- (NSString *)playerStateUniqueIdentifier { return nil; } -- (int)currentAlbumTrackCount +- (int)currentSongIndex { return nil; } -- (int)currentSongTrack +- (NSString *)currentSongTitle { return nil; } -- (NSString *)currentSongUniqueIdentifier +- (NSString *)currentSongArtist { return nil; } -- (int)currentSongIndex +- (NSString *)currentSongComposer { return nil; } -- (NSString *)currentSongTitle +- (NSString *)currentSongAlbum { return nil; } -- (NSString *)currentSongArtist +- (NSString *)currentSongGenre { return nil; } -- (NSString *)currentSongAlbum +- (NSString *)currentSongLength { return nil; } -- (NSString *)currentSongGenre +- (NSString *)currentSongRemaining { return nil; } -- (NSString *)currentSongLength +- (NSString *)currentSongElapsed { return nil; } -- (NSString *)currentSongRemaining +- (NSImage *)currentSongAlbumArt { return nil; } @@ -324,12 +224,12 @@ return NO; } -- (ITMTRemoteRepeatMode)repeatMode +- (ITMTRemotePlayerRepeatMode)repeatMode { - return ITMTRemoteRepeatNone; + return ITMTRemotePlayerRepeatOff; } -- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode +- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode { return NO; } @@ -369,6 +269,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO;