ftp.nice.ch/pub/next/connectivity/news/Alexandra-0.9.s.tar.gz#/alex/Newsgroup.h

This is Newsgroup.h in view mode; [Download] [Up]

#import <appkit/appkit.h>
#import <misckit/MiscProtocols.h>

@interface Newsgroup:Cell
{
   BOOL subscribed;
   unsigned numUnreadArticles;
   id articleList;
   List *intervalList;
   int myTag;
   long min;
   long max;
	long first_unread;
   char postable;
   BOOL delayed;
   BOOL isBogus;
   int currentSortType;

}

+ setSortType:(int)t;
+ (int)sortType;

- initTextCell:(const char *)aString;
- updateArticles;
- free;

- setSubscribed;
- setUnsubscribed;
- (BOOL)isSubscribed;

- setNumUnreadArticles:(int)num;
- incNumberUnreadArticles:(int)delta;
- approxNumUnread;
- (long)numberUnreadArticles;
- (int)markAllReadUntil:lastArticle;

- setTextAttributes:textObj;
- drawInside:(const NXRect *)cellFrame inView:controlView;
- highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)flag;

- setReadList:(char *)readlist;
- (BOOL)inReadList:(long)number;
- dumpReadList:(NXStream *)aStream;

- scanArticles:(id)nntpServer;
- scanArticles:(id)nntpServer visibleIn:(id)articleView;
- (BOOL)isDelayed;
- (List *)articleList;


- setTag;
- unsetTag;
- (BOOL)isTaged;

- setMin:(long)newMin;
- setMax:(long)newMax;
- (long)minNumber;
- (long)maxNumber;

- (BOOL)bogus;
- setBogus:(BOOL)b;

- setPostable:(char)p;
- (char)postable;

- (BOOL)resortIfNeeded:(int)val;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.