diff options
Diffstat (limited to 'apple_remote/source/RemoteControl.m')
-rw-r--r-- | apple_remote/source/RemoteControl.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apple_remote/source/RemoteControl.m b/apple_remote/source/RemoteControl.m index 1f1b7f179350..9cf840527bd3 100644 --- a/apple_remote/source/RemoteControl.m +++ b/apple_remote/source/RemoteControl.m @@ -34,7 +34,7 @@ // notification names that are being used to signal that an application wants to // have access to the remote control device or if the application has finished // using the remote control device -NSString* REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION = @"mac.remotecontrols.RequestForRemoteControl"; +NSString* REQUEST_FOR_REMOTE_CONTROL_NOTIFICATION = @"mac.remotecontrols.RequestForRemoteControl"; NSString* FINISHED_USING_REMOTE_CONTROL_NOTIFICATION = @"mac.remotecontrols.FinishedUsingRemoteControl"; // keys used in user objects for distributed notifications @@ -132,14 +132,14 @@ NSString* kTargetApplicationIdentifier = @"TargetBundleIdentifier"; deliverImmediately:YES]; } -+ (void) sendFinishedNotifcationForAppIdentifier: (NSString*) identifier { ++ (void) sendFinishedNotificationForAppIdentifier: (NSString*) identifier { [self sendDistributedNotification:FINISHED_USING_REMOTE_CONTROL_NOTIFICATION targetBundleIdentifier:identifier]; #ifdef DEBUG - NSLog( @"Apple RemoteControl: sendFinishedNotifcationForAppIdentifier ..."); + NSLog( @"Apple RemoteControl: sendFinishedNotificationForAppIdentifier ..."); #endif } + (void) sendRequestForRemoteControlNotification { - [self sendDistributedNotification:REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION targetBundleIdentifier:nil]; + [self sendDistributedNotification:REQUEST_FOR_REMOTE_CONTROL_NOTIFICATION targetBundleIdentifier:nil]; #ifdef DEBUG NSLog( @"Apple RemoteControl: sendRequestForRemoteControlNotification ..."); #endif |