mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
20 lines
555 B
Objective-C
20 lines
555 B
Objective-C
// This file Copyright © 2006-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 <Foundation/Foundation.h>
|
|
|
|
#include <libtransmission/transmission.h>
|
|
|
|
@class Torrent;
|
|
|
|
@interface Badger : NSObject
|
|
|
|
- (instancetype)initWithLib:(tr_session*)lib;
|
|
|
|
- (void)updateBadgeWithDownload:(CGFloat)downloadRate upload:(CGFloat)uploadRate;
|
|
- (void)addCompletedTorrent:(Torrent*)torrent;
|
|
- (void)removeTorrent:(Torrent*)torrent;
|
|
- (void)clearCompleted;
|
|
|
|
@end
|