Update Turkish translation
[dasher.git] / Src / MacOSX / DasherApp.h
blob3333118d5cf3775a55fe5be972e94ad3a81c1814
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 "DasherViewOpenGL.h"
15 #import "Queue.h"
16 #import "DasherEdit.h"
17 #import "KeyboardHelper.h"
19 @class AppWatcher;
20 @class DasherTextView;
22 @interface DasherApp : NSObject
24 IBOutlet NSWindow *dasherPanelUI;
26 COSXDasherControl *aquaDasherControl;
27 DasherViewOpenGL *dasherView;
29 IBOutlet AppWatcher *appWatcher;
30 IBOutlet DasherTextView *textView;
31 NSTimer *_timer;
32 Queue *spQ;
33 NSSpeechSynthesizer *spSyn;
34 CKeyboardHelper *_keyboardHelper;
35 BOOL directMode;
36 NSString *filename;
37 BOOL modified;
39 @property BOOL gameModeOn;
40 @property BOOL directMode;
41 @property (readonly,retain) NSString *filename;
42 @property BOOL modified;
44 - (void)redraw;
45 - (void)changeScreen:(CDasherScreen *)aScreen;
46 - (NSDictionary *)parameterDictionary;
47 - (NSArray *)permittedValuesForParameter:(int)aParameter;
48 - (id)getParameterValueForKey:(NSString *)aKey;
49 - (void)setParameterValue:(id)aValue forKey:(NSString *)aKey;
50 - (id)init;
51 - (IBAction)importTrainingText:(id)sender;
52 - (IBAction)showPreferences:(id)sender;
53 - (void)setPanelAlphaValue:(float)anAlphaValue;
54 - (void)awakeFromNib;
55 - (void)windowWillClose:(NSNotification *)aNotification;
56 - (COSXDasherControl *)aquaDasherControl;
57 - (void)setAquaDasherControl:(COSXDasherControl *)value;
58 - (void)startTimer;
59 - (void)shutdownTimer;
60 - (NSTimer *)timer;
61 - (void)timerCallback:(NSTimer *)aTimer;
62 - (void)dealloc;
63 - (bool)supportsSpeech;
64 - (void)speak:(NSString *)sText interrupt:(bool)bInt;
65 - (void)copyToClipboard:(NSString *)sText;
66 - (void)handleKeyDown:(NSEvent *)e;
67 - (void)handleKeyUp:(NSEvent *)e;
68 - (IBAction)newDoc:(id)sender;
69 - (IBAction)openDoc:(id)sender;
70 - (IBAction)saveDoc:(id)sender;
71 - (IBAction)saveDocAs:(id)sender;
72 - (IBAction)revertToSaved:(id)sender;
74 @property (assign) DasherViewOpenGL *dasherView;
76 @end