1*f67462bcSTomasz Sapeta // Copyright 2015-present 650 Industries. All rights reserved.
2*f67462bcSTomasz Sapeta 
3*f67462bcSTomasz Sapeta #import <Foundation/Foundation.h>
4*f67462bcSTomasz Sapeta 
5*f67462bcSTomasz Sapeta @interface EXDevMenuMotionInterceptor : NSObject
6*f67462bcSTomasz Sapeta 
7*f67462bcSTomasz Sapeta /**
8*f67462bcSTomasz Sapeta  * Installs motion interceptor. Overrides the default implementation of `motionEnded:withEvent:` in `UIWindow`.
9*f67462bcSTomasz Sapeta  */
10*f67462bcSTomasz Sapeta + (void)install;
11*f67462bcSTomasz Sapeta 
12*f67462bcSTomasz Sapeta /**
13*f67462bcSTomasz Sapeta  * Uninstalls motion interceptor. Brings back the default implementation of `motionEnded:withEvent:` in `UIWindow`.
14*f67462bcSTomasz Sapeta  */
15*f67462bcSTomasz Sapeta + (void)uninstall;
16*f67462bcSTomasz Sapeta 
17*f67462bcSTomasz Sapeta /**
18*f67462bcSTomasz Sapeta  * Returns `YES` if motion interceptor is currently installed, `NO` otherwise.
19*f67462bcSTomasz Sapeta  */
20*f67462bcSTomasz Sapeta + (BOOL)isInstalled;
21*f67462bcSTomasz Sapeta 
22*f67462bcSTomasz Sapeta @end
23