Added methods for shuffle and repeat modes.
[MenuTunes.git] / iTunesRemote.m
index 639843d..0a02b1b 100755 (executable)
@@ -57,7 +57,7 @@
     return nil;
 }
 
     return nil;
 }
 
-- (ITMTRemotePlayerRunningStatus)playerRunningState
+- (ITMTRemotePlayerRunningState)playerRunningState
 {
     NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications];
     int i;
 {
     NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications];
     int i;
     return NO;
 }
 
     return NO;
 }
 
+- (BOOL)shuffleEnabled
+{
+    return NO;
+}
+
+- (BOOL)setShuffleEnabled:(BOOL)enabled
+{
+    return NO;
+}
+
+- (ITMTRemotePlayerRepeatMode)repeatMode
+{
+    return ITMTRemotePlayerRepeatOff;
+}
+
+- (BOOL)setRepeatMode:(ITMTRemotePlayerRepeatMode)repeatMode
+{
+    return NO;
+}
+
 - (BOOL)play
 {
     [[ITAppleEventCenter sharedCenter] sendAEWithEventClass:@"hook" eventID:@"Play" appPSN:iTunesPSN];
 - (BOOL)play
 {
     [[ITAppleEventCenter sharedCenter] sendAEWithEventClass:@"hook" eventID:@"Play" appPSN:iTunesPSN];