X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8b06c48ba29b681cd97ca543733467e2a6c6cd0a..ba95bdd1193aefaac80e1f1f6d3956733ce0f3bd:/ITMTRemote.m diff --git a/ITMTRemote.m b/ITMTRemote.m index 3c49e72..febdda1 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -2,11 +2,6 @@ @implementation ITMTRemote -+ (void)initialize -{ -[self setVersion:2]; -} - + (id)remote { return nil; @@ -69,222 +64,162 @@ 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 +- (NSArray *)artists { return nil; } -- (NSString*)informationString:(ITMTRemoteInformationString)string; +- (NSArray *)albums { return nil; } -- (BOOL)switchToPlaylist:(int)playlistIndex -{ - return 0; -} - -- (BOOL)switchToTrackAtIndex:(int)index +- (int)numberOfSources { - return 0; + return nil; } -- (int)identifierForTrackAtIndex:(int)index inPlaylist:(int)playlistIndex +- (int)numberOfSongsInPlaylistAtIndex:(int)index { - return 0; + return nil; } -- (BOOL)supportsCustomEqualizer +- (ITMTRemotePlayerSource)currentSource { - return NO; + return nil; } -- (BOOL)showEqualizerWindow +- (int)currentSourceIndex { - return NO; + return nil; } -- (BOOL)supportsEqualizerPresets +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass { - return NO; + return nil; } -- (BOOL)supportsExternalWindow +- (int)currentPlaylistIndex { - return NO; + return nil; } -- (NSArray*)equalizerPresetNames +- (NSString *)songTitleAtIndex:(int)index { return nil; } -- (BOOL)switchToEqualizerPreset:(int)index +- (BOOL)songEnabledAtIndex:(int)index { - return NO; + return nil; } -- (ITMTRemoteControlState)controlState +- (int)currentAlbumTrackCount { return nil; } -- (ITMTRemotePlaylistMode)playlistMode +- (int)currentSongTrack { return nil; } -- (NSArray *)playlists +- (NSString *)playerStateUniqueIdentifier { return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (int)currentSongIndex { return nil; } -- (int)currentPlaylistIndex +- (NSString *)currentSongTitle { return nil; } -- (NSString *)songTitleAtIndex:(int)index +- (NSString *)currentSongArtist { return nil; } -- (int)currentAlbumTrackCount +- (NSString *)currentSongComposer { return nil; } -- (int)currentSongTrack +- (NSString *)currentSongAlbum { return nil; } -- (NSString *)currentSongUniqueIdentifier +- (NSString *)currentSongGenre { return nil; } -- (int)currentSongIndex +- (NSString *)currentSongLength { return nil; } -- (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; } @@ -292,7 +227,7 @@ - (BOOL)setEqualizerEnabled:(BOOL)enabled { return NO; -} */ +} - (NSArray *)eqPresets { @@ -324,12 +259,12 @@ return NO; } -- (ITMTRemoteRepeatMode)repeatMode +- (ITMTRemotePlayerRepeatMode)repeatMode { - return ITMTRemoteRepeatNone; + return ITMTRemotePlayerRepeatOff; } -- (BOOL)setRepeatMode:(ITMTRemoteRepeatMode)repeatMode +- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode { return NO; } @@ -369,6 +304,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO; @@ -379,4 +319,9 @@ return NO; } +- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type +{ + return NO; +} + @end