2016-07-09 15:04:09 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
2018-02-02 12:31:34 +03:00
|
|
|
#import <Foundation/Foundation.h>
|
2016-10-22 18:25:43 +03:00
|
|
|
|
2018-01-21 16:16:07 +03:00
|
|
|
#import "SharedTypes.h"
|
2016-07-09 15:04:09 +03:00
|
|
|
|
|
|
|
|
2017-12-20 23:35:36 +03:00
|
|
|
@interface NvimServer : NSObject
|
2016-07-09 15:04:09 +03:00
|
|
|
|
2017-06-12 01:30:33 +03:00
|
|
|
- (instancetype)initWithLocalServerName:(NSString *)localServerName
|
|
|
|
remoteServerName:(NSString *)remoteServerName
|
|
|
|
nvimArgs:(NSArray<NSString *> *)nvimArgs;
|
2016-07-09 15:04:09 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
- (void)sendMessageWithId:(NvimServerMsgId)msgid;
|
2018-05-13 10:29:15 +03:00
|
|
|
|
|
|
|
- (void)sendMessageWithId:(NvimServerMsgId)msgid data:(CFDataRef)data;
|
2016-07-09 15:04:09 +03:00
|
|
|
- (void)notifyReadiness;
|
|
|
|
|
|
|
|
@end
|