X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/cefefd3e817015f9b8e5708bedc52539cfa88799..e980fa37a154b26625b8e9472bfd5404bde0aa85:/ITMTRemote.m diff --git a/ITMTRemote.m b/ITMTRemote.m index d2f2ccc..36b82eb 100755 --- a/ITMTRemote.m +++ b/ITMTRemote.m @@ -1,4 +1,4 @@ -#import "ITMTRemote.h" +pen#import "ITMTRemote.h" @implementation ITMTRemote @@ -44,7 +44,24 @@ - (NSDictionary *)capabilities { - return nil; + return [NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool: NO], @"Remote", // Set this to YES for a valid remote, otherwise the remote will be unusable. + [NSNumber numberWithBool: NO], @"Basic Track Control", + [NSNumber numberWithBool: NO], @"Track Information", + [NSNumber numberWithBool: NO], @"Track Navigation", + [NSNumber numberWithBool: NO], @"Upcoming Songs", + [NSNumber numberWithBool: NO], @"Playlists", + [NSNumber numberWithBool: NO], @"Volume", + [NSNumber numberWithBool: NO], @"Shuffle", + [NSNumber numberWithBool: NO], @"Repeat Modes", + [NSNumber numberWithBool: NO], @"Equalizer", + [NSNumber numberWithBool: NO], @"Track Rating", + nil]; +} + +- (BOOL)showPrimaryInterface +{ + return NO; } - (ITMTRemotePlayerRunningState)playerRunningState @@ -67,7 +84,7 @@ return nil; } -- (NSString *)classOfPlaylistAtIndex:(int)index +- (ITMTRemotePlayerPlaylistClass)classOfPlaylistAtIndex:(int)index { return nil; } @@ -82,6 +99,11 @@ return nil; } +- (NSString *)currentSongUniqueIdentifier +{ + return nil; +} + - (int)currentSongIndex { return nil;