ftp.nice.ch/pub/next/connectivity/news/News.0.75.s.tar.gz#/Article.h

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

// Article.h


#import <objc/Storage.h>

#import <appkit/nextstd.h>

#import <math.h>
#import <strings.h>

#import "config.h"
#import "IconColumnCell.h"

#import "Item.h"

typedef enum {
  ARTICLE_MINE, ARTICLE_UNSEEN, ARTICLE_NUM_BITMAPS
} articleBitmapPositions;

typedef enum {
  ARTICLE_NUMBER, ARTICLE_SUBJECT, ARTICLE_NUM_COLUMNS
} articleStringPositions;

#define	ARTICLE_TAB_0		0.09	// % of row
#define ARTICLE_TAB_1		0.20

@interface Article:Item
{
@public
  // news dependent
  char		*subject;
  long		number;
  char		numberString[20]; // fix
  // user dependent
  BOOL		seen;
}

+ new;
+ newNumber:(long)newNumber;
+ newNumber:(long)newNumber subject:(const char *)newSubject;

- setNumber:(long)newNumber;
- setSeen:(BOOL)newSeen;

@end

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