2009-03-05 17:04:16 +00:00
|
|
|
//
|
|
|
|
// PlaybackEventController.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 3/5/09.
|
|
|
|
// Copyright 2009 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2020-03-21 08:51:35 +00:00
|
|
|
#import <UserNotifications/UserNotifications.h>
|
2009-03-05 17:04:16 +00:00
|
|
|
|
2014-12-04 05:36:55 +00:00
|
|
|
#import "PlaybackController.h"
|
2014-12-04 06:13:27 +00:00
|
|
|
#import "PlaylistEntry.h"
|
2014-12-04 05:36:55 +00:00
|
|
|
|
2009-03-05 17:04:16 +00:00
|
|
|
@class AudioScrobbler;
|
2020-03-21 08:51:35 +00:00
|
|
|
@interface PlaybackEventController : NSObject <NSUserNotificationCenterDelegate, UNUserNotificationCenterDelegate> {
|
2009-03-05 17:04:16 +00:00
|
|
|
NSOperationQueue *queue;
|
2014-12-04 06:13:27 +00:00
|
|
|
|
|
|
|
PlaylistEntry *entry;
|
2009-03-05 17:04:16 +00:00
|
|
|
|
|
|
|
AudioScrobbler *scrobbler;
|
2014-12-04 05:36:55 +00:00
|
|
|
|
|
|
|
IBOutlet PlaybackController *playbackController;
|
|
|
|
|
|
|
|
IBOutlet NSWindow *mainWindow;
|
|
|
|
IBOutlet NSWindow *miniWindow;
|
2020-03-21 08:51:35 +00:00
|
|
|
|
|
|
|
Boolean didGainUN;
|
|
|
|
|
2009-03-05 17:04:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|