23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#import <ObjFW/OFObject.h>
@interface IRCUser: OFObject <OFCopying>
{
OFString *_nickname, *_username, *_hostname;
}
#ifdef OF_HAVE_PROPERTIES
@property (copy, readonly) OFString *nickname, *username, *hostname;
#endif
+ (instancetype)IRCUserWithString: (OFString*)string;
- initWithString: (OFString*)string;
- (OFString*)nickname;
- (OFString*)username;
- (OFString*)hostname;
@end
|
<
<
<
<
<
|
23
24
25
26
27
28
29
30
31
32
33
34
|
#import <ObjFW/OFObject.h>
@interface IRCUser: OFObject <OFCopying>
{
OFString *_nickname, *_username, *_hostname;
}
@property (copy, readonly) OFString *nickname, *username, *hostname;
+ (instancetype)IRCUserWithString: (OFString*)string;
- initWithString: (OFString*)string;
@end
|