From 17349a5e426dc7acf1216a3767a22f69974cbca0 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 14 Apr 2008 21:45:08 -0400 Subject: Initial commit. --- Liaison/DownloadStatusView.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Liaison/DownloadStatusView.h (limited to 'Liaison/DownloadStatusView.h') diff --git a/Liaison/DownloadStatusView.h b/Liaison/DownloadStatusView.h new file mode 100644 index 0000000..7d7865a --- /dev/null +++ b/Liaison/DownloadStatusView.h @@ -0,0 +1,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 -- cgit v1.2.3