Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Classes/MyAppController.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (show annotations) (download) (as text)
Sun Oct 27 01:17:32 2019 UTC (4 years, 5 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 2039 byte(s)
Track colors can be changed
1 //
2 // MyAppController.h
3 //
4 // Created by Toshi Nagata.
5 /*
6 Copyright (c) 2000-2017 Toshi Nagata. All rights reserved.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation version 2 of the License.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 */
17
18 #import <Cocoa/Cocoa.h>
19
20 extern NSString *MyAppControllerMIDISetupDidChangeNotification;
21 extern NSString *MyAppControllerModalPanelTimerNotification;
22
23 @class MyDocument;
24 @interface MyAppController : NSObject
25 {
26 IBOutlet NSMenu *scriptMenu;
27 NSMutableArray *scriptMenuInfos;
28 id rubyProgressPanelController;
29 }
30 - (void)updateScriptMenu: (NSNotification *)aNotification;
31 - (void)registerScriptMenu: (NSString *)commandName withTitle: (NSString *)menuTitle validator:(int32_t)rubyValue;
32 - (void)performScriptCommand: (NSString *)command forDocument: (MyDocument *)document;
33 - (void)doScriptCommand: (id)sender;
34 - (IBAction)openAudioSettingsPanel: (id)sender;
35 - (IBAction)exportAudioSettings: (id)sender;
36 - (IBAction)importAudioSettings: (id)sender;
37 - (IBAction)openAudioSettingsPrefPanel: (id)sender;
38 - (IBAction)openMetronomeSettingsPanel: (id)sender;
39 - (IBAction)openAboutWindow:(id)sender;
40 - (IBAction)updateAudioAndMIDISettings:(id)sender;
41 - (IBAction)tryTrackColorForCurrentDocument:(id)sender;
42 - (id)documentAtIndex: (int)idx;
43
44 - (void)getRubyVersion:(NSString **)outVersion copyright:(NSString **)outCopyright;
45 - (void)getVersion:(NSString **)outVersion copyright:(NSString **)outCopyright lastBuild:(NSString **)outLastBuild revision:(int *)outRevision;
46
47 - (int)getOSXVersion;
48
49 @end
50
51 extern id MyAppCallback_getObjectGlobalSettings(id keyPath);
52 extern void MyAppCallback_setObjectGlobalSettings(id keyPath, id value);
53 extern void MyAppCallback_saveGlobalSettings(void);

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26