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-29 00:15:52 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
@class Torrent;
|
|
|
|
|
2009-10-11 23:16:46 +00:00
|
|
|
@interface InfoWindowController : NSWindowController
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
@property(nonatomic, readonly) NSArray<NSURL*>* quickLookURLs;
|
2022-02-22 16:04:20 +00:00
|
|
|
@property(nonatomic, readonly) BOOL canQuickLook;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
- (void)setInfoForTorrents:(NSArray<Torrent*>*)torrents;
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)updateInfoStats;
|
|
|
|
- (void)updateOptions;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-11-15 16:50:16 +00:00
|
|
|
- (IBAction)setTab:(id)sender;
|
2007-10-06 22:23:44 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)setNextTab;
|
|
|
|
- (void)setPreviousTab;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (NSRect)quickLookSourceFrameForPreviewItem:(id<QLPreviewItem>)item;
|
2009-10-11 23:16:46 +00:00
|
|
|
|
2007-09-16 01:02:06 +00:00
|
|
|
@end
|