2023-02-11 20:49:42 +00:00
|
|
|
// This file Copyright © 2010-2023 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.
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-06-29 00:15:52 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2018-09-30 10:37:30 +00:00
|
|
|
|
2010-03-14 01:42:49 +00:00
|
|
|
#import "InfoViewController.h"
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
@interface InfoActivityViewController : NSViewController<InfoViewController>
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-07-17 23:04:32 +00:00
|
|
|
- (NSRect)viewRect;
|
2022-12-16 18:27:37 +00:00
|
|
|
- (void)checkLayout;
|
|
|
|
- (void)checkWindowSize;
|
2022-07-17 23:04:32 +00:00
|
|
|
- (void)updateWindowLayout;
|
|
|
|
|
2022-04-29 22:51:40 +00:00
|
|
|
- (void)setInfoForTorrents:(NSArray<Torrent*>*)torrents;
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)updateInfo;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (IBAction)setPiecesView:(id)sender;
|
|
|
|
- (IBAction)updatePiecesView:(id)sender;
|
|
|
|
- (void)clearView;
|
2010-03-06 23:12:30 +00:00
|
|
|
|
2022-07-17 23:04:32 +00:00
|
|
|
@property(nonatomic) IBOutlet NSView* fTransferView;
|
2022-12-16 18:27:37 +00:00
|
|
|
@property(nonatomic) CGFloat oldHeight;
|
2022-07-17 23:04:32 +00:00
|
|
|
|
2010-03-06 23:12:30 +00:00
|
|
|
@end
|