summaryrefslogtreecommitdiffstats
path: root/Liaison/DownloadStatusView.h
blob: 7d7865a9e8e540ff8d1bb0107780f4a1ec90d682 (plain)
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
/* DownloadStatusView */

@interface DownloadStatusView : NSView
{
    IBOutlet NSTextField *theFilename;
    IBOutlet NSImageView *theIcon;
    IBOutlet NSProgressIndicator *theProgressBar;
    IBOutlet NSButton *theButton;

    LiFileHandle *theFileHandle;
}
- (LiFileHandle *)fileHandle;
- (void)setFileHandle: (LiFileHandle *)aFileHandle;

- (void)setIcon: (NSImage *)anIcon;
- (void)setFilename: (NSString *)aFilename;
- (void)setProgress: (double)aProgress;
- (void)setButtonImage: (NSImage *)anImage;
- (void)setButtonAltImage: (NSImage *)anImage;
- (void)setButtonTarget: (id)aTarget;
- (void)setButtonAction: (SEL)anAction;
@property (retain,getter=fileHandle) LiFileHandle *theFileHandle;
@property (retain) NSTextField *theFilename;
@property (retain) NSButton *theButton;
@property (retain) NSImageView *theIcon;
@property (retain) NSProgressIndicator *theProgressBar;
@end