@class NSObject; @protocol OS_dispatch_queue, BWDeviceOrientationMonitorPortraitLandscapeUpdateDelegate; @interface BWDeviceOrientationMonitor : NSObject { int _orientationDispatchToken; NSObject *_orientationNotificationDispatchQueue; unsigned int _currentOrientation; struct OpaqueFigSimpleMutex { } *_stateMutex; } @property (readonly, nonatomic) unsigned int mostRecentPortraitLandscapeOrientation; @property (nonatomic) id portraitLandscapeUpdateDelegate; + (void)initialize; - (id)init; - (void)dealloc; - (BOOL)start; - (BOOL)stop; @end