- Mapping to Cmd-letter now works
[MacVim/jjgod.git] / MMVimController.h
blobc0ca0a4f32cfa0f759bcc94264f53babf0716e06
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;
32 NSString *serverName;
35 - (id)initWithBackend:(id)backend pid:(int)processIdentifier;
36 - (id)backendProxy;
37 - (int)pid;
38 - (void)setServerName:(NSString *)name;
39 - (NSString *)serverName;
40 - (MMWindowController *)windowController;
41 - (void)cleanup;
42 - (void)dropFiles:(NSArray *)filenames;
43 - (void)dropString:(NSString *)string;
44 - (void)sendMessage:(int)msgid data:(NSData *)data wait:(BOOL)wait;
46 @end
48 // vim: set ft=objc: