Default menu "MacVim Help" item opens help window maximized
[MacVim.git] / src / MacVim / MMAppController.h
blob4f8324e01921bc453972f9ef17dd04611949799a
1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * MacVim GUI port by Bjorn Winckler
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
9 */
11 #import <Cocoa/Cocoa.h>
12 #import "MacVim.h"
15 @class MMWindowController;
18 @interface MMAppController : NSObject <MMAppProtocol> {
19 NSConnection *connection;
20 NSMutableArray *vimControllers;
21 NSString *openSelectionString;
22 ATSFontContainerRef fontContainerRef;
23 NSMutableDictionary *pidArguments;
24 NSMenu *defaultMainMenu;
25 NSMenuItem *recentFilesMenuItem;
28 + (MMAppController *)sharedInstance;
29 - (NSMenu *)defaultMainMenu;
30 - (void)removeVimController:(id)controller;
31 - (void)windowControllerWillOpen:(MMWindowController *)windowController;
32 - (void)setMainMenu:(NSMenu *)mainMenu;
33 - (IBAction)newWindow:(id)sender;
34 - (IBAction)fileOpen:(id)sender;
35 - (IBAction)selectNextWindow:(id)sender;
36 - (IBAction)selectPreviousWindow:(id)sender;
37 - (IBAction)fontSizeUp:(id)sender;
38 - (IBAction)fontSizeDown:(id)sender;
39 - (IBAction)orderFrontPreferencePanel:(id)sender;
40 - (IBAction)openWebsite:(id)sender;
41 - (IBAction)showVimHelp:(id)sender;
42 - (IBAction)zoomAll:(id)sender;
44 @end