summaryrefslogtreecommitdiff
path: root/app/mac/view-controller.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-29 01:14:41 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-29 01:14:41 +0100
commit1d32f7561305d6c86b1c80858bc73d55b1c6c402 (patch)
treedb4be090c2403a7e09dcd4eb116c3ec4bf5af926 /app/mac/view-controller.hh
parentc1062208bb54cce8dffa04e9697ae124f271ecaf (diff)
(untested) game controller support
Diffstat (limited to 'app/mac/view-controller.hh')
-rw-r--r--app/mac/view-controller.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/mac/view-controller.hh b/app/mac/view-controller.hh
index 4947b99..2eecd4e 100644
--- a/app/mac/view-controller.hh
+++ b/app/mac/view-controller.hh
@@ -3,15 +3,20 @@
#import <Cocoa/Cocoa.h>
#import <GameController/GameController.h>
+NS_ASSUME_NONNULL_BEGIN
+
@interface ViewController : GCEventViewController
- (instancetype)initWithFilePath:(NSString*)filePath NS_DESIGNATED_INITIALIZER;
-- (instancetype)initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
+- (instancetype)initWithNibName:(nullable NSString*)nibNameOrNil
+ bundle:(nullable NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
@property (readonly) NSSize minimumDisplaySize;
@property (readonly) NSSize preferredDisplaySize;
-@end \ No newline at end of file
+@end
+
+NS_ASSUME_NONNULL_END \ No newline at end of file