Clean up identifiers
FossilOrigin-Name: d35fd65699e79d96fc0588fff075f73b0dd7eb6ebfa0f6cffd0b0a3940e5fecd
This commit is contained in:
parent
570b9e3bb3
commit
c690c2b9ed
12 changed files with 364 additions and 276 deletions
15
src/Alias.h
Normal file
15
src/Alias.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#import "Identifier.h"
|
||||
|
||||
OF_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface Alias : Identifier
|
||||
@property (copy, nonatomic) OFString *action;
|
||||
@property (readonly, nonatomic) bool persisted;
|
||||
|
||||
- (instancetype)initWithName:(OFString *)name OF_UNAVAILABLE;
|
||||
- (instancetype)initWithName:(OFString *)name
|
||||
action:(OFString *)action
|
||||
persisted:(bool)persisted;
|
||||
@end
|
||||
|
||||
OF_ASSUME_NONNULL_END
|
Loading…
Add table
Add a link
Reference in a new issue