1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-27 15:53:31 +03:00
vimr/NeoVimXpc/NeoVimXpc.h
Tae Won Ha 1ca45e84c5
Manually memory-manage in the XPC implementation
- Input events are fed and processed in two different threads. We want
  to be sure that our NSStrings are released only after the processing
  of the event has been done.
2016-06-07 19:47:27 +02:00

20 lines
465 B
Objective-C

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
#import <Foundation/Foundation.h>
@protocol NeoVimXpc <NSObject>
/**
* It seems that the XPC service does not get instantiated as long as no actual calls are made. However, we want neovim
* run as soon as we establish the connection. To achieve this, the client can call -probe which does not call anything
* on neovim.
*/
- (void)probe;
- (void)vimInput:(NSString * _Nonnull)input;
@end