forked from stevestreza/PlayerPiano
/
PlayerPianoAppDelegate.h
42 lines (33 loc) · 1.12 KB
/
PlayerPianoAppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// PlayerPianoAppDelegate.h
// PlayerPiano
//
// Created by Steve Streza on 2/13/10.
// Copyright 2010 Villainware.
//
// See LICENSE.md file in the PlayerPiano source directory, or at
// http://github.com/amazingsyco/PlayerPiano/blob/master/LICENSE.md
//
#import <Cocoa/Cocoa.h>
#import <PianoBar/PPPianobarController.h>
#import "PPStyleView.h"
@interface PlayerPianoAppDelegate : NSObject <NSApplicationDelegate, PPPianobarDelegate> {
NSWindow *window;
PPPianobarController *pianobar;
IBOutlet NSArrayController *stationController;
IBOutlet NSSegmentedControl *playPauseNextSegmentedControl;
IBOutlet NSView *backgroundContainer;
IBOutlet NSView *progressBarContainer;
PPStyleView *backgroundView;
PPStyleView *progressBar;
IBOutlet NSView *titlebarAccessory;
}
@property (assign) IBOutlet NSWindow *window;
-(IBAction)thumbsUpCurrentSong:(id)sender;
-(IBAction)thumbsDownCurrentSong:(id)sender;
-(IBAction)playPauseCurrentSong:(id)sender;
-(IBAction)playNextSong:(id)sender;
-(IBAction)handleThumbSegmentedControl:(id)sender;
-(IBAction)handlePlaybackSegmentedControl:(id)sender;
-(IBAction)quit:(id)sender;
@end