1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/macosx/PrefsController.h
Antoine Cœur d5533ee648
Fix "Port checker returned invalid status: 0" (#3064)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2022-05-10 09:54:39 -05:00

21 lines
558 B
Objective-C

// 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.
#import <Cocoa/Cocoa.h>
#include <libtransmission/transmission.h>
@protocol PortCheckerDelegate;
@interface PrefsController : NSWindowController<NSToolbarDelegate, PortCheckerDelegate>
@property(nonatomic, readonly) NSArray<NSString*>* sounds;
+ (NSInteger)dateToTimeSum:(NSDate*)date;
- (instancetype)initWithHandle:(tr_session*)handle;
- (void)rpcUpdatePrefs;
@end