Respond to 'shouldSelectTab...', return NO, and let Vim decide whether or not
[MacVim/jjgod.git] / MMVimController.h
blob1550c6dc25c3c1e0231a47e5372d5d41249b90b3
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;
19 @interface MMVimController : NSObject <MMFrontendProtocol>
21 BOOL isInitialized;
22 MMWindowController *windowController;
23 id backendProxy;
24 BOOL inProcessCommandQueue;
25 NSMutableArray *sendQueue;
26 NSMutableArray *mainMenuItems;
27 NSMutableArray *popupMenuItems;
28 BOOL shouldUpdateMainMenu;
29 NSToolbar *toolbar;
30 NSMutableDictionary *toolbarItemDict;
31 int pid;
34 - (id)initWithBackend:(id)backend pid:(int)processIdentifier;
35 - (id)backendProxy;
36 - (int)pid;
37 - (MMWindowController *)windowController;
38 - (void)cleanup;
39 - (void)sendMessage:(int)msgid data:(NSData *)data wait:(BOOL)wait;
41 @end
43 // vim: set ft=objc: