#4963 Support Notification Center on 10.8

This commit is contained in:
Mitchell Livingston
2012-07-25 12:49:11 +00:00
parent d350225a1d
commit 3479946084
4 changed files with 185 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ typedef enum
ADD_CREATED
} addType;
@interface Controller : NSObject <GrowlApplicationBridgeDelegate, NSURLDownloadDelegate, NSPopoverDelegate, NSSoundDelegate, NSToolbarDelegate, NSWindowDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate>
@interface Controller : NSObject <GrowlApplicationBridgeDelegate, NSURLDownloadDelegate, NSUserNotificationCenterDelegate, NSPopoverDelegate, NSSoundDelegate, NSToolbarDelegate, NSWindowDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate>
{
tr_session * fLib;
@@ -193,6 +193,8 @@ typedef enum
- (void) setBottomCountText: (BOOL) filtering;
- (Torrent *) torrentForHash: (NSString *) hash;
- (void) torrentFinishedDownloading: (NSNotification *) notification;
- (void) torrentRestartedDownloading: (NSNotification *) notification;
- (void) torrentFinishedSeeding: (NSNotification *) notification;