Cube  Diff

Differences From Artifact [4403af7dfe]:

To Artifact [3b8ccce865]:


1
2
3
4

5
6
7
8
9
10
11
#import <ObjFW/ObjFW.h>

OF_ASSUME_NONNULL_BEGIN


@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;




>







1
2
3
4
5
6
7
8
9
10
11
12
#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;