2023-11-01 21:11:11 +00:00
|
|
|
// This file Copyright © Transmission authors and contributors.
|
2022-01-20 18:27:56 +00:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-06-07 19:27:40 +00:00
|
|
|
#import "PortChecker.h"
|
2022-06-29 00:15:52 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2018-09-30 10:37:30 +00:00
|
|
|
|
|
|
|
#include <libtransmission/transmission.h>
|
2008-11-01 15:22:32 +00:00
|
|
|
|
2022-05-10 14:54:39 +00:00
|
|
|
@interface PrefsController : NSWindowController<NSToolbarDelegate, PortCheckerDelegate>
|
2007-09-17 00:01:57 +00:00
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
@property(nonatomic, readonly) NSArray<NSString*>* sounds;
|
2010-03-26 02:28:41 +00:00
|
|
|
|
2022-10-25 16:14:42 +00:00
|
|
|
/// - returns: number of minutes
|
|
|
|
+ (int)dateToTimeSum:(NSDate*)date;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-02-22 16:04:20 +00:00
|
|
|
- (instancetype)initWithHandle:(tr_session*)handle;
|
2008-06-03 19:11:43 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)rpcUpdatePrefs;
|
2008-06-03 17:55:43 +00:00
|
|
|
|
2007-09-16 01:02:06 +00:00
|
|
|
@end
|