]> git.sesse.net Git - vlc/commitdiff
macosx: re-enable AppleRemote support for 64bit builds
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 15 Jun 2009 13:43:52 +0000 (15:43 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 15 Jun 2009 14:21:22 +0000 (16:21 +0200)
modules/gui/macosx/intf.m

index 3b96807bccf4967b36bde48f784a9ac7eba4af4b..c9f328b4af6aa7a7897ddbb078f4e9b4317779b7 100644 (file)
@@ -334,11 +334,9 @@ static VLCMain *_o_sharedMainInstance = nil;
 
     i_lastShownVolume = -1;
 
-#ifndef __x86_64__
     o_remote = [[AppleRemote alloc] init];
     [o_remote setClickCountEnabledButtons: kRemoteButtonPlay];
     [o_remote setDelegate: _o_sharedMainInstance];
-#endif
 
     o_eyetv = [[VLCEyeTVController alloc] init];
 
@@ -1014,16 +1012,12 @@ static NSString * VLCToolbarMediaControl     = @"VLCToolbarMediaControl";
 - (void)applicationDidBecomeActive:(NSNotification *)aNotification
 {
     if( !p_intf ) return;
-#ifndef __x86_64__
     [o_remote startListening: self];
-#endif
 }
 - (void)applicationDidResignActive:(NSNotification *)aNotification
 {
     if( !p_intf ) return;
-#ifndef __x86_64__
     [o_remote stopListening: self];
-#endif
 }
 
 /* Triggered when the computer goes to sleep */