mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
#1575 Auto-select a group for new torrents according to criteria for each group
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user