Differences From Artifact [3f56310839]:
- File src/MenuItem.h — part of check-in [6f5dd50626] at 2025-03-08 02:38:40 on branch trunk — Improve clang-format (user: js, size: 191) [annotate] [blame] [check-ins using]
To 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]
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 | + + | #import <ObjFW/ObjFW.h> @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 |