X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/2d58e7c682543939c0ae261514af569f7ac51fa3..HEAD:/ITMTRemote.m diff --git a/ITMTRemote.m b/ITMTRemote.m index d5e0c62..9a720c4 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -66,12 +66,12 @@ - (ITMTRemotePlayerRunningState)playerRunningState { - return nil; + return ITMTRemotePlayerNotRunning; } - (ITMTRemotePlayerPlayingState)playerPlayingState { - return nil; + return ITMTRemotePlayerStopped; } - (NSArray *)playlists @@ -79,19 +79,44 @@ return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (NSArray *)artists { return nil; } -- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass +- (NSArray *)albums { return nil; } +- (int)numberOfSources +{ + return -1; +} + +- (int)numberOfSongsInPlaylistAtIndex:(int)index +{ + return -1; +} + +- (ITMTRemotePlayerSource)currentSource +{ + return ITMTRemoteLibrarySource; +} + +- (int)currentSourceIndex +{ + return -1; +} + +- (ITMTRemotePlayerPlaylistClass)currentPlaylistClass +{ + return ITMTRemotePlayerLibraryPlaylist; +} + - (int)currentPlaylistIndex { - return nil; + return -1; } - (NSString *)songTitleAtIndex:(int)index @@ -99,24 +124,29 @@ return nil; } +- (BOOL)songEnabledAtIndex:(int)index +{ + return NO; +} + - (int)currentAlbumTrackCount { - return nil; + return -1; } - (int)currentSongTrack { - return nil; + return -1; } -- (NSString *)currentSongUniqueIdentifier +- (NSString *)playerStateUniqueIdentifier { return nil; } - (int)currentSongIndex { - return nil; + return -1; } - (NSString *)currentSongTitle @@ -129,6 +159,11 @@ return nil; } +- (NSString *)currentSongComposer +{ + return nil; +} + - (NSString *)currentSongAlbum { return nil; @@ -144,22 +179,57 @@ return nil; } +- (int)currentSongPlayed +{ + return -1; +} + +- (int)currentSongDuration +{ + return -1; +} + - (NSString *)currentSongRemaining { return nil; } -- (float)currentSongRating +- (NSString *)currentSongElapsed +{ + return nil; +} + +- (NSImage *)currentSongAlbumArt { return nil; } +- (int)currentSongPlayCount +{ + return 0; +} + +- (float)currentSongRating +{ + return 0; +} + - (BOOL)setCurrentSongRating:(float)rating { return NO; } -/* - (BOOL)equalizerEnabled +- (BOOL)currentSongShufflable +{ + return NO; +} + +- (BOOL)setCurrentSongShufflable:(BOOL)shufflable +{ + return NO; +} + +- (BOOL)equalizerEnabled { return NO; } @@ -167,7 +237,7 @@ - (BOOL)setEqualizerEnabled:(BOOL)enabled { return NO; -} */ +} - (NSArray *)eqPresets { @@ -176,12 +246,12 @@ - (int)currentEQPresetIndex { - return nil; + return 0; } - (float)volume { - return nil; + return 0; } - (BOOL)setVolume:(float)volume @@ -244,6 +314,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO; @@ -254,4 +329,9 @@ return NO; } +- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type +{ + return NO; +} + @end