transmission/macosx/TorrentGroup.h

22 lines
645 B
C
Raw Normal View History

// This file Copyright © Transmission authors and contributors.
// It may be used under the MIT (SPDX: MIT) license.
// License text can be found in the licenses/ folder.
#import <Foundation/Foundation.h>
2022-04-29 22:51:40 +00:00
@class Torrent;
@interface TorrentGroup : NSObject
- (instancetype)initWithGroup:(NSInteger)group;
@property(nonatomic, readonly) NSInteger groupIndex;
@property(nonatomic, readonly) NSInteger groupOrderValue;
2022-04-29 22:51:40 +00:00
@property(nonatomic, readonly) NSMutableArray<Torrent*>* torrents;
@property(nonatomic, readonly) CGFloat ratio;
@property(nonatomic, readonly) CGFloat uploadRate;
@property(nonatomic, readonly) CGFloat downloadRate;
@end