Updated Danish translation
[dasher.git] / Src / MacOSX / DasherApp.h
bloba824c6afbcf27a8b68306f29b34170d0a8117fc6
1 //
2 // DasherApp.h
3 // MacOSX
4 //
5 // Created by Doug Dickinson on Fri Apr 18 2003.
6 // Copyright (c) 2003 Doug Dickinson (dasher AT DressTheMonkey DOT plus DOT com). All rights reserved.
7 //
10 #import <Foundation/Foundation.h>
11 #import <AppKit/AppKit.h>
13 #import "COSXDasherControl.h"
14 //#import "DasherAppInterface.h"
15 #import "COSXDasherScreen.h"
16 #import "DasherViewCocoa.h"
18 @class AppWatcher;
19 @class DasherView;
21 @interface DasherApp : NSObject
23 IBOutlet NSPanel *dasherPanelUI;
25 COSXDasherControl *aquaDasherControl;
26 id <DasherViewCocoa>dasherView;
28 IBOutlet AppWatcher *appWatcher;
29 NSTimer *_timer;
33 - (void)start;
34 - (void)redraw;
35 - (void)changeScreen:(COSXDasherScreen *)aScreen;
36 - (void)pauseAtX:(int)x y:(int)y;
37 - (void)unpause:(unsigned long int)time;
38 - (NSDictionary *)parameterDictionary;
39 - (NSArray *)permittedValuesForParameter:(int)aParameter;
40 - (id)getParameterValueForKey:(NSString *)aKey;
41 - (void)setParameterValue:(id)aValue forKey:(NSString *)aKey;
42 - (AXUIElementRef)targetAppUIElementRef;
43 - (id)init;
44 - (IBAction)importTrainingText:(id)sender;
45 - (IBAction)showPreferences:(id)sender;
46 - (void)setPanelAlphaValue:(float)anAlphaValue;
47 - (void)awakeFromNib;
48 - (void)windowWillClose:(NSNotification *)aNotification;
49 - (COSXDasherControl *)aquaDasherControl;
50 - (void)setAquaDasherControl:(COSXDasherControl *)value;
51 - (id <DasherViewCocoa>)dasherView;
52 - (void)setDasherView:(id <DasherViewCocoa>)value;
53 - (void)startTimer;
54 - (void)shutdownTimer;
55 - (NSTimer *)timer;
56 - (void)setTimer:(NSTimer *)newTimer;
57 - (void)timerCallback:(NSTimer *)aTimer;
58 - (void)dealloc;
60 @end