]> git.saurik.com Git - iphone-api.git/blame - UIKit/UIAccelerometer.h
Unlocked some more APIs.
[iphone-api.git] / UIKit / UIAccelerometer.h
CommitLineData
2cd8f71b
JF
1/*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7#import <Foundation/NSObject.h>
8
35e4f7ee
JF
9@protocol UIAccelerometerDelegate;
10
2cd8f71b
JF
11@interface UIAccelerometer : NSObject
12{
13 double _updateInterval;
14 id <UIAccelerometerDelegate> _delegate;
15 struct {
16 unsigned int delegateDidAccelerate:1;
17 unsigned int reserved:31;
18 } _accelerometerFlags;
19}
20
21+ (id)sharedAccelerometer;
22- (id)init;
23- (void)setUpdateInterval:(double)fp8;
24- (void)setDelegate:(id)fp8;
25- (void)_acceleratedInX:(double)fp8 y:(double)fp16 z:(double)fp24 timestamp:(double)fp32;
26- (id)delegate;
27- (double)updateInterval;
28
29@end
30
35e4f7ee
JF
31@class UIAcceleration;
32
33@protocol UIAccelerometerDelegate<NSObject>
34@optional
35- (void) accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration;
36@end
37