[vlc-devel] commit: macosx: re-enable AppleRemote support for 64bit builds ( Felix Paul Kühne )
git version control
git at videolan.org
Mon Jun 15 15:44:05 CEST 2009
vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 15 15:43:52 2009 +0200| [a4753e35617bbb97f0d66f8f431516b8dd8c24d6] | committer: Felix Paul Kühne
macosx: re-enable AppleRemote support for 64bit builds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4753e35617bbb97f0d66f8f431516b8dd8c24d6
---
modules/gui/macosx/intf.m | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 88ee820..969b0ce 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -332,11 +332,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];
@@ -999,16 +997,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 */
More information about the vlc-devel
mailing list