Use 'behave mswin' instead of setting 'keymodel' and 'selectmode'.
[MacVim/jjgod.git] / MMVimController.h
blob8c7f863c62dd97c0fbd16b2b18e3c0a66deb8a3e
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)dropFiles:(NSArray *)filenames;
40 - (void)dropString:(NSString *)string;
41 - (void)sendMessage:(int)msgid data:(NSData *)data wait:(BOOL)wait;
43 @end
45 // vim: set ft=objc: