Differences From Artifact [49eed66821]:
- File src/KeyMapping.m — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 317) [annotate] [blame] [check-ins using]
To Artifact [962ce788ca]:
- File
src/KeyMapping.m
— 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: 323) [annotate] [blame] [check-ins using]
1 2 3 | #import "KeyMapping.h" @implementation KeyMapping | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #import "KeyMapping.h" @implementation KeyMapping + (instancetype)mappingWithCode: (int)code name: (OFString *)name { return [[self alloc] initWithCode: code name: name]; } - (instancetype)initWithCode: (int)code name: (OFString *)name { self = [super init]; _code = code; _name = [name copy]; return self; |
︙ | ︙ |