2022-01-20 18:27:56 +00:00
|
|
|
// This file Copyright © 2005-2022 Transmission authors and contributors.
|
|
|
|
// 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
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.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
|
|
|
@protocol PortCheckerDelegate;
|
|
|
|
|
|
|
|
@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
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
+ (NSInteger)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
|