Artifact 7e5483fe4c110dba85a9b23ff3c92d8b54dd10fb87a684c89e1b538f0492ac7b:
- File
src/KeyMapping.h
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 422) [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