X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/efd57bc799aac892be3c161826168729b0419fb4..4909f1dfc7aca6fc2d2cfa0ad60897df44f4affe:/ITMTRemote.m?ds=sidebyside diff --git a/ITMTRemote.m b/ITMTRemote.m index 8753f6d..9a720c4 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -59,14 +59,19 @@ nil]; } +- (BOOL)showPrimaryInterface +{ + return NO; +} + - (ITMTRemotePlayerRunningState)playerRunningState { - return nil; + return ITMTRemotePlayerNotRunning; } - (ITMTRemotePlayerPlayingState)playerPlayingState { - return nil; + return ITMTRemotePlayerStopped; } - (NSArray *)playlists @@ -74,19 +79,44 @@ return nil; } -- (int)numberOfSongsInPlaylistAtIndex:(int)index +- (NSArray *)artists { return nil; } -- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index +- (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 @@ -94,11 +124,31 @@ return nil; } -- (int)currentSongIndex +- (BOOL)songEnabledAtIndex:(int)index +{ + return NO; +} + +- (int)currentAlbumTrackCount +{ + return -1; +} + +- (int)currentSongTrack +{ + return -1; +} + +- (NSString *)playerStateUniqueIdentifier { return nil; } +- (int)currentSongIndex +{ + return -1; +} + - (NSString *)currentSongTitle { return nil; @@ -109,6 +159,11 @@ return nil; } +- (NSString *)currentSongComposer +{ + return nil; +} + - (NSString *)currentSongAlbum { return nil; @@ -124,21 +179,56 @@ 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)currentSongShufflable +{ + return NO; +} + +- (BOOL)setCurrentSongShufflable:(BOOL)shufflable +{ + return NO; +} + - (BOOL)equalizerEnabled { return NO; @@ -156,12 +246,12 @@ - (int)currentEQPresetIndex { - return nil; + return 0; } - (float)volume { - return nil; + return 0; } - (BOOL)setVolume:(float)volume @@ -224,6 +314,11 @@ return NO; } +- (BOOL)switchToPlaylistAtIndex:(int)index ofSourceAtIndex:(int)index2 +{ + return NO; +} + - (BOOL)switchToSongAtIndex:(int)index { return NO; @@ -234,4 +329,9 @@ return NO; } +- (BOOL)makePlaylistWithTerm:(NSString *)term ofType:(int)type +{ + return NO; +} + @end