X-Git-Url: https://git.saurik.com/iphone-api.git/blobdiff_plain/f8d8a1a9bf3e8cbbb8a04dacfcd3257f1d560b63..2cd8f71baf5b8e3f2fc334a69a08a31948c2bd7c:/UIKit/UIDevice.h diff --git a/UIKit/UIDevice.h b/UIKit/UIDevice.h new file mode 100644 index 0000000..e82d335 --- /dev/null +++ b/UIKit/UIDevice.h @@ -0,0 +1,35 @@ +/* + * Generated by class-dump 3.1.2. + * + * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. + */ + +#import + +@interface UIDevice : NSObject +{ + int _numDeviceOrientationObservers; + struct { + unsigned int orientation:3; + unsigned int batteryState:2; + } _deviceFlags; +} + ++ (void)initialize; ++ (id)currentDevice; +- (id)name; +- (id)model; +- (id)localizedModel; +- (id)systemName; +- (id)systemVersion; +- (id)uniqueIdentifier; +- (void)setOrientation:(int)fp8; +- (int)orientation; +- (void)setBatteryState:(int)fp8; +- (int)batteryState; +- (void)beginGeneratingDeviceOrientationNotifications; +- (void)endGeneratingDeviceOrientationNotifications; +- (BOOL)isGeneratingDeviceOrientationNotifications; + +@end +