mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
31 lines
549 B
Objective-C
31 lines
549 B
Objective-C
//
|
|
// Badger.h
|
|
// Transmission
|
|
//
|
|
// Created by Mitchell Livingston on 12/21/05.
|
|
//
|
|
|
|
#ifndef BADGER_H
|
|
#define BADGER_H
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface Badger : NSObject {
|
|
|
|
NSImage * fBadge, * fDockIcon, * fBadgedDockIcon;
|
|
|
|
NSDictionary * fBadgeAttributes, * fStringAttributes;
|
|
|
|
NSColor * fUploadingColor, * fDownloadingColor;
|
|
|
|
int fCompleted;
|
|
}
|
|
|
|
- (void) updateBadgeWithCompleted: (int) completed
|
|
uploadRate: (NSString *) uploadRate
|
|
downloadRate: (NSString *) downloadRate;
|
|
- (void) clearBadge;
|
|
|
|
@end
|
|
|
|
#endif
|