mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
2bb270f60c
git-svn-id: http://macvim.googlecode.com/svn/trunk@20 96c4425d-ca35-0410-94e5-3396d5c13a8f
50 lines
1.1 KiB
Objective-C
50 lines
1.1 KiB
Objective-C
/* vi:set ts=8 sts=4 sw=4 ft=objc:
|
|
*
|
|
* VIM - Vi IMproved by Bram Moolenaar
|
|
* MacVim GUI port by Bjorn Winckler
|
|
*
|
|
* Do ":help uganda" in Vim to read copying and usage conditions.
|
|
* Do ":help credits" in Vim to see a list of people who contributed.
|
|
* See README.txt for an overview of the Vim source code.
|
|
*/
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "MacVim.h"
|
|
|
|
@class MMWindowController;
|
|
|
|
|
|
|
|
@interface MMVimController : NSObject
|
|
#if MM_USE_DO
|
|
<MMFrontendProtocol>
|
|
#endif
|
|
{
|
|
MMWindowController *windowController;
|
|
#if MM_USE_DO
|
|
id backendProxy;
|
|
#else
|
|
NSPort *sendPort;
|
|
NSPort *receivePort;
|
|
#endif
|
|
NSMutableArray *mainMenuItems;
|
|
BOOL shouldUpdateMainMenu;
|
|
//NSMutableArray *popupMenus;
|
|
NSToolbar *toolbar;
|
|
NSMutableDictionary *toolbarItemDict;
|
|
}
|
|
|
|
#if MM_USE_DO
|
|
- (id)initWithBackend:(id)backend;
|
|
- (id)backendProxy;
|
|
#else
|
|
- (id)initWithPort:(NSPort *)port;
|
|
- (NSPort *)sendPort;
|
|
#endif
|
|
- (void)windowWillClose:(NSNotification *)notification;
|
|
- (void)sendMessage:(int)msgid data:(NSData *)data wait:(BOOL)wait;
|
|
|
|
@end
|
|
|
|
// vim: set ft=objc:
|