mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
32 lines
549 B
C
32 lines
549 B
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
|