-
Notifications
You must be signed in to change notification settings - Fork 1
/
PaperBoy.h
36 lines (29 loc) · 852 Bytes
/
PaperBoy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2009 Max Howell
#import <Cocoa/Cocoa.h>
/** Delivers new comics to the delegate */
@interface PaperBoy:NSObject{
NSMutableArray* houses;
NSMutableArray* fetching;
NSObject* delegate;
NSMutableArray* scripts;
IBOutlet NSTableView* tableview;
}
-(id)initWithDelegate:(id)delegate;
@end
/* There's a publishing house for each comic */
@interface PublishingHouse:NSObject{
NSString* name;
NSString* identifier;
FILE* pipe;
NSURLConnection* http;
NSMutableData* data;
NSImage* favicon;
NSString* genre;
bool enabled;
}
@property (nonatomic, retain) NSURLConnection* http;
@property (nonatomic, readonly) NSString* identifier;
@property (nonatomic, readonly) NSString* name;
@property (nonatomic, readonly, assign) FILE* pipe;
@property (nonatomic, readonly) NSMutableData* data;
@end