200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
-
+
-
+
|
- (void)addStatus: (OFString*)status
{
[self addChild: [OFXMLElement elementWithName: @"status"
stringValue: status]];
}
- (void)addPriority: (char)priority
- (void)addPriority: (int8_t)priority
{
OFString* prio = [OFString stringWithFormat: @"%d", priority];
OFString* prio = [OFString stringWithFormat: @"%" @PRId8, priority];
[self addChild: [OFXMLElement elementWithName: @"priority"
stringValue: prio]];
}
@end
|