2023-11-01 22:11:11 +01:00
|
|
|
// This file Copyright © Transmission authors and contributors.
|
2022-01-20 12:27:56 -06:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-06-29 01:15:52 +01:00
|
|
|
#import <AppKit/AppKit.h>
|
2018-09-30 13:37:30 +03:00
|
|
|
|
2010-03-14 01:42:49 +00:00
|
|
|
#import "InfoViewController.h"
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
@interface InfoOptionsViewController : NSViewController<InfoViewController>
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-07-18 01:04:32 +02:00
|
|
|
- (NSRect)viewRect;
|
2022-12-17 05:27:37 +11:00
|
|
|
- (void)checkLayout;
|
|
|
|
- (void)checkWindowSize;
|
2022-07-18 01:04:32 +02:00
|
|
|
- (void)updateWindowLayout;
|
|
|
|
|
2022-04-30 06:51:40 +08:00
|
|
|
- (void)setInfoForTorrents:(NSArray<Torrent*>*)torrents;
|
2021-08-15 12:41:48 +03:00
|
|
|
- (void)updateInfo;
|
|
|
|
- (void)updateOptions;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setUseSpeedLimit:(id)sender;
|
|
|
|
- (IBAction)setSpeedLimit:(id)sender;
|
|
|
|
- (IBAction)setUseGlobalSpeedLimit:(id)sender;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setRatioSetting:(id)sender;
|
|
|
|
- (IBAction)setRatioLimit:(id)sender;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setIdleSetting:(id)sender;
|
|
|
|
- (IBAction)setIdleLimit:(id)sender;
|
2010-07-16 03:12:57 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setRemoveWhenSeedingCompletes:(id)sender;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setPriority:(id)sender;
|
2012-07-07 01:47:12 +00:00
|
|
|
|
2021-08-15 12:41:48 +03:00
|
|
|
- (IBAction)setPeersConnectLimit:(id)sender;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-07-18 01:04:32 +02:00
|
|
|
@property(nonatomic) IBOutlet NSView* fPriorityView;
|
2022-12-17 05:27:37 +11:00
|
|
|
@property(nonatomic) CGFloat oldHeight;
|
2022-07-18 01:04:32 +02:00
|
|
|
|
2010-03-06 23:12:30 +00:00
|
|
|
@end
|