Artifact 3b8ccce8650f87b59085e349602523f7788582c00ce1e5b5618d82ab253584d5:
- File src/KeyMapping.h — part of check-in [7a98b92af9] at 2025-03-25 23:52:50 on branch trunk — Make use of OF_DIRECT (user: js, size: 418) [annotate] [blame] [check-ins using]
#import <ObjFW/ObjFW.h> OF_ASSUME_NONNULL_BEGIN OF_DIRECT_MEMBERS @interface KeyMapping: OFObject @property (readonly) int code; @property (readonly, nonatomic) OFString *name; @property (copy, nonatomic) OFString *action; + (instancetype)mappingWithCode:(int)code name:(OFString *)name; - (instancetype)init OF_UNAVAILABLE; - (instancetype)initWithCode:(int)code name:(OFString *)name; @end OF_ASSUME_NONNULL_END