*****************************************************************************
*
* Note that changes made by any members or contributors of the VideoLAN team
- * (i.e. changes that were checked in to one of VideoLAN's source code
+ * (i.e. changes that were exclusively checked in to one of VideoLAN's source code
* repositories) are licensed under the GNU General Public License version 2,
* or (at your option) any later version.
* Thus, the following statements apply to our changes:
*
- * Copyright (C) 2006 the VideoLAN team
+ * Copyright (C) 2006-2007 the VideoLAN team
* Authors: Eric Petit <titer@m0k.org>
* Felix Kühne <fkuehne at videolan dot org>
*
#import "AppleRemote.h"
+/* this was added by the VideoLAN team to ensure Leopard-compatibility and is VLC-only */
+#import "intf.h"
+
const char* AppleRemoteDeviceName = "AppleIRController";
const int REMOTE_SWITCH_COOKIE=19;
const NSTimeInterval DEFAULT_MAXIMUM_CLICK_TIME_DIFFERENCE=0.35;
[super dealloc];
}
+/* this was added by the VideoLAN team to ensure Leopard-compatibility and is VLC-only */
+#if GC_ENABLED
+- (void)finalize
+{
+ [self stopListening: self];
+ [super finalize];
+}
+#endif
+
- (int) remoteId {
return remoteId;
}