Differences From Artifact [969de9221d]:
- File src/MenuItem.h — part of check-in [7a98b92af9] at 2025-03-25 23:52:50 on branch trunk — Make use of OF_DIRECT (user: js, size: 319) [annotate] [blame] [check-ins using]
To Artifact [d2df5485ed]:
- File
src/MenuItem.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: 323) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | #import <ObjFW/ObjFW.h> OF_DIRECT_MEMBERS @interface MenuItem: OFObject @property (readonly, nonatomic) OFString *text, *action; | | | | 1 2 3 4 5 6 7 8 9 10 | #import <ObjFW/ObjFW.h> OF_DIRECT_MEMBERS @interface MenuItem: OFObject @property (readonly, nonatomic) OFString *text, *action; + (instancetype)itemWithText: (OFString *)text action: (OFString *)action; - (instancetype)init OF_UNAVAILABLE; - (instancetype)initWithText: (OFString *)text action: (OFString *)action; @end |