mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
21 lines
645 B
Objective-C
21 lines
645 B
Objective-C
// This file Copyright © 2008-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>
|
|
|
|
@class Torrent;
|
|
|
|
@interface TorrentGroup : NSObject
|
|
|
|
- (instancetype)initWithGroup:(NSInteger)group;
|
|
|
|
@property(nonatomic, readonly) NSInteger groupIndex;
|
|
@property(nonatomic, readonly) NSInteger groupOrderValue;
|
|
@property(nonatomic, readonly) NSMutableArray<Torrent*>* torrents;
|
|
|
|
@property(nonatomic, readonly) CGFloat ratio;
|
|
@property(nonatomic, readonly) CGFloat uploadRate;
|
|
@property(nonatomic, readonly) CGFloat downloadRate;
|
|
|
|
@end
|