forked from jason-tratta/QAutoSaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppController.h
60 lines (46 loc) · 1.19 KB
/
AppController.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// AppController.h
// QAutoSaver
//
// Created by Jason Tratta 2/4/09.
// Copyright 2009 Sound Character. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
#import "QlabScripting.h"
#import <SDGlobalShortcuts/SDGlobalShortcuts.h>
#import <ShortcutRecorder/ShortcutRecorder.h>
#import "AboutWindow.h"
NSString * const JATHoursFieldKey;
NSString * const JATMinutesFieldKey;
@interface AppController : NSObject {
IBOutlet SRRecorderControl *recorderControl;
AboutWindow *aboutWindow;
NSTimer *timer;
int count;
int progressBarMax;
BOOL startTimer;
BOOL firstPass;
BOOL active;
NSString *file;
NSString *toParent;
IBOutlet NSTextField *feedBackBox;
IBOutlet NSTextField *fieldHours;
IBOutlet NSTextField *fieldMinutes;
QlabScripting *qlabScripts;
PreferenceController *myPrefs;
}
-(IBAction) saveButton: (id) sender;
-(IBAction)startTimer: (id) sender;
-(IBAction)stopTimer:(id) sender;
-(void) theTimer;
-(void)setCount;
-(IBAction)openAboutWindow: (id) sender;
-(IBAction)hotKey: (id) sender;
-(int)getMinutes;
-(int)getHours;
-(void) setMinutesField;
-(void) setHoursField;
-(IBAction) testButton: (id) sender;
@end