Changeset 5472 for Spiral/trunk/SPAppleRemote.h
- Timestamp:
- 04/22/08 01:46:27 (7 months ago)
- Files:
-
- Spiral/trunk/SPAppleRemote.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Spiral/trunk/SPAppleRemote.h
r5460 r5472 53 53 *****************************************************************************/ 54 54 55 #import <mach/mach.h> 56 #import <mach/mach_error.h> 57 #import <IOKit/IOKitLib.h> 58 #import <IOKit/IOCFPlugIn.h> 59 #import <IOKit/hid/IOHIDLib.h> 60 #import <IOKit/hid/IOHIDKeys.h> 55 #import "SPRemote.h" 61 56 62 57 enum _SPAppleRemoteButton { … … 78 73 @protocol SPAppleRemoteDelegate; 79 74 80 @interface SPAppleRemote : WIObject{75 @interface SPAppleRemote : SPRemote { 81 76 IBOutlet id <SPAppleRemoteDelegate> delegate; 82 77 … … 92 87 BOOL _lastButtonSimulatedHold; 93 88 94 BOOL _delegateAppleRemotePressedButton Down;89 BOOL _delegateAppleRemotePressedButton; 95 90 BOOL _delegateAppleRemoteHeldButton; 91 BOOL _delegateAppleRemoteReleasedButton; 96 92 } 97 93 … … 105 101 - (BOOL)isListening; 106 102 103 - (SPRemoteAction)actionForButton:(SPAppleRemoteButton)button inContext:(SPRemoteContext)context; 104 107 105 @end 108 106 … … 112 110 @optional 113 111 114 - (void)appleRemotePressedButton:(SPAppleRemoteButton)button down:(BOOL)down;112 - (void)appleRemotePressedButton:(SPAppleRemoteButton)button; 115 113 - (void)appleRemoteHeldButton:(SPAppleRemoteButton)button; 114 - (void)appleRemoteReleasedButton; 116 115 117 116 @end
