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.
11 #import <Cocoa/Cocoa.h>
12 #import "PlugInInterface.h"
14 @interface MMPlugInAppMediator
: NSObject
<PlugInAppMediator
> {
18 + (MMPlugInAppMediator
*)sharedAppMediator
;
23 @
class MMVimController
;
25 // One of these per vim controller object. It manages all of the plugin
26 // instances for a given controller.
27 @interface MMPlugInInstanceMediator
: NSObject
<PlugInInstanceMediator
> {
28 // NB: this is a weak reference to the vim controller
29 MMVimController
*vimController
;
30 NSMutableArray
*instances
;
32 NSMutableArray
*plugInViews
;
35 - (id
)initWithVimController
:(MMVimController
*)controller
;