aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h')
-rw-r--r--3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h b/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h
new file mode 100644
index 00000000..c4632b1f
--- /dev/null
+++ b/3rdparty/imgui/examples/example_apple_metal/Shared/AppDelegate.h
@@ -0,0 +1,19 @@
+
+#import <TargetConditionals.h>
+
+#if TARGET_OS_IPHONE
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+@property (strong, nonatomic) UIWindow *window;
+@end
+
+#else
+
+#import <Cocoa/Cocoa.h>
+
+@interface AppDelegate : NSObject <NSApplicationDelegate>
+@end
+
+#endif