#ifndef YAZE_APP_CORE_PLATFORM_VIEW_CONTROLLER_H #define YAZE_APP_CORE_PLATFORM_VIEW_CONTROLLER_H #ifdef __APPLE__ #include #if TARGET_OS_OSX #ifdef __OBJC__ @interface AppViewController : NSViewController @property(nonatomic) yaze::Controller *controller; @end #endif #else #ifdef __OBJC__ @interface AppViewController : UIViewController @property(nonatomic) yaze::Controller *controller; @property(nonatomic) UIHoverGestureRecognizer *hoverGestureRecognizer; @property(nonatomic) UIPinchGestureRecognizer *pinchRecognizer; @property(nonatomic) UISwipeGestureRecognizer *swipeRecognizer; @property(nonatomic) UILongPressGestureRecognizer *longPressRecognizer; @end #endif #endif #ifdef __OBJC__ @interface AppViewController () @property(nonatomic, readonly) MTKView *mtkView; @property(nonatomic, strong) id device; @property(nonatomic, strong) id commandQueue; @end #endif #endif // __APPLE__ #endif // YAZE_APP_CORE_PLATFORM_VIEW_CONTROLLER_H