Differences From Artifact [4b142ee758]:
- File src/ServerInfo.mm — part of check-in [53f10f3320] at 2025-03-09 22:00:28 on branch trunk — Move ServerInfo to separate file (user: js, size: 697) [annotate] [blame] [check-ins using]
To Artifact [d173cecbd6]:
- File src/ServerInfo.m — part of check-in [eac9e3d948] at 2025-03-20 20:59:25 on branch trunk — Convert several files to pure Objective-C (user: js, size: 791) [annotate] [blame] [check-ins using]
- File src/ServerInfo.mm — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 791) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 | #import "ServerInfo.h" #include "cube.h" @implementation ServerInfo - (instancetype)initWithName:(OFString *)name { self = [super init]; _name = [name copy]; _full = @""; _mode = 0; | > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #import "ServerInfo.h" #include "cube.h" @implementation ServerInfo + (instancetype)infoWithName:(OFString *)name; { return [[self alloc] initWithName:name]; } - (instancetype)initWithName:(OFString *)name { self = [super init]; _name = [name copy]; _full = @""; _mode = 0; |
︙ | ︙ |