Differences From Artifact [237d14ade3]:
- File src/MenuItem.h — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 301) [annotate] [blame] [check-ins using]
To 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]
1 2 3 4 5 6 7 8 9 | 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 |