mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
20 lines
545 B
Objective-C
20 lines
545 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 <Cocoa/Cocoa.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
|