#1575 Auto-select a group for new torrents according to criteria for each group

This commit is contained in:
Mitchell Livingston
2008-12-08 03:26:28 +00:00
parent e3b039cd21
commit 678a3f7c3e
10 changed files with 1649 additions and 1153 deletions

View File

@@ -23,6 +23,7 @@
*****************************************************************************/
#import <Cocoa/Cocoa.h>
#import "Torrent.h"
@interface GroupsController : NSObject
{
@@ -50,6 +51,12 @@
- (NSString *) customDownloadLocationForIndex: (NSInteger) index;
- (void) setCustomDownloadLocation: (NSString *) location forIndex: (NSInteger) index;
- (BOOL) usesAutoAssignRulesForIndex: (NSInteger) index;
- (void) setUsesAutoAssignRules: (BOOL) useAutoAssignRules forIndex: (NSInteger) index;
- (NSArray *) autoAssignRulesForIndex: (NSInteger) index;
- (void) setAutoAssignRules: (NSArray *) rules forIndex: (NSInteger) index;
- (void) addNewGroup;
- (void) removeGroupWithRowIndex: (NSInteger) row;
@@ -57,4 +64,5 @@
- (NSMenu *) groupMenuWithTarget: (id) target action: (SEL) action isSmall: (BOOL) small;
- (NSInteger) groupIndexForTorrent: (Torrent *) torrent;
@end