simplify how the file outline accesses the torrent

This commit is contained in:
Mitchell Livingston
2007-10-20 19:13:52 +00:00
parent af8ca0a2e6
commit 3aa131a3e9
7 changed files with 32 additions and 20 deletions

View File

@@ -24,13 +24,20 @@
#import <Cocoa/Cocoa.h>
@class Torrent;
@interface FileOutlineView : NSOutlineView
{
Torrent * fTorrent;
NSColor * fHighPriorityColor, * fLowPriorityColor, * fMixedPriorityColor;
int fHoverRow;
}
- (void) setTorrent: (Torrent *) torrent;
- (Torrent *) torrent;
- (void) setHoverRowForEvent: (NSEvent *) event;
- (int) hoverRow;