summaryrefslogtreecommitdiffstats
path: root/platform/iphone/app_delegate.h
diff options
context:
space:
mode:
authorSam Green <greensamuelm@gmail.com>2020-02-21 21:42:34 -0800
committerSam Green <greensamuelm@gmail.com>2020-02-21 21:42:34 -0800
commitf40ff128b53caf966f920a9e4e323603e1617168 (patch)
tree01ff46940563bf226d6b8b1d7a331f0fcdacde3d /platform/iphone/app_delegate.h
parente03e607230f590d90ad7e455e370dcd982e9cfaa (diff)
downloadredot-engine-f40ff128b53caf966f920a9e4e323603e1617168.tar.gz
Update detect.py
Diffstat (limited to 'platform/iphone/app_delegate.h')
-rw-r--r--platform/iphone/app_delegate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/iphone/app_delegate.h b/platform/iphone/app_delegate.h
index b4454aab11..6b3b7ad5bc 100644
--- a/platform/iphone/app_delegate.h
+++ b/platform/iphone/app_delegate.h
@@ -28,13 +28,20 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+#if defined(OPENGL_ENABLED)
#import "gl_view.h"
+#endif
#import "view_controller.h"
#import <UIKit/UIKit.h>
#import <CoreMotion/CoreMotion.h>
+#if defined(OPENGL_ENABLED)
@interface AppDelegate : NSObject <UIApplicationDelegate, GLViewDelegate> {
+#endif
+#if defined(VULKAN_ENABLED)
+@interface AppDelegate : NSObject <UIApplicationDelegate> {
+#endif
//@property (strong, nonatomic) UIWindow *window;
ViewController *view_controller;
bool is_focus_out;