Completely rewrite the playlist storage once again, this time with a much faster Core Data implementation. It still uses a little magic for Album Artwork consolidation, but string consolidation doesn't seem to be needed to reduce the disk storage size. Works much faster than my silly implementation, too. Old implementations are still kept for backwards compatibility with existing playlists. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
24 lines
517 B
Objective-C
24 lines
517 B
Objective-C
//
|
|
// PlaybackEventController.h
|
|
// Cog
|
|
//
|
|
// Created by Vincent Spader on 3/5/09.
|
|
// Copyright 2009 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import <UserNotifications/UserNotifications.h>
|
|
|
|
#import "PlaybackController.h"
|
|
|
|
@class AudioScrobbler;
|
|
|
|
@interface PlaybackEventController
|
|
: NSObject <NSUserNotificationCenterDelegate, UNUserNotificationCenterDelegate> {
|
|
IBOutlet PlaybackController *playbackController;
|
|
|
|
IBOutlet NSWindow *mainWindow;
|
|
IBOutlet NSWindow *miniWindow;
|
|
}
|
|
|
|
@end
|