-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPSInstrumentViewController.h
43 lines (34 loc) · 1.08 KB
/
PSInstrumentViewController.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
43
//
// PSInstrumentViewController.h
// PianoScribe
//
// Created by Wenley Tong on 11/4/13.
// Copyright (c) 2013 WenleyTong. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PSViewController.h"
#import "PSNoteDatabase.h"
@interface PSInstrumentViewController : UIViewController
{
@private PSViewController * __unsafe_unretained parent;
@private UIButton * record;
@private UIButton * play;
@private UIButton * pause;
@private UIButton * stop;
@private UILabel * keyboard;
@private NSString * instrumentDirectory;
@private PSNoteDatabase * db;
}
@property (assign) PSViewController * parent;
@property (retain) IBOutlet UIButton * record, * play, * pause, * stop;
@property (retain) IBOutlet UILabel * keyboard;
@property PSNoteDatabase * db;
@property NSString * instrumentDirectory;
// Loads the instrument from the instrumentDirectory;
- (BOOL) loadInstrument;
- (IBAction) record:(UIButton *)sender;
- (IBAction) play:(UIButton *)sender;
- (IBAction) pause:(UIButton *)pause;
- (IBAction) stop:(UIButton *)stop;
- (IBAction) quit:(UIButton *)quit;
@end