This is Inbox.m in view mode; [Download] [Up]
/* Implementation of Inbox -- the container representing on of the * user's inboxes and its current state. */ #import "Inbox.h" @implementation Inbox + newName: (const char *) n { self = [self new]; [self setName: n]; return self; } - (const char *) name { return name; } - (long) ID { return ID; } - (int) messageCount { return messageCount; } - (int) unreadCount { return unreadCount; } - setName: (const char *) n { return [self setStringValue: n]; } - setID: (long) i {ID = i; return self;} - setMessageCount: (int) c {messageCount = c; return self;} - setUnreadCount: (int) c {unreadCount = c; return self;} @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.