1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-10-27 18:34:58 +03:00
vimr/NeoVimServer/NeoVimBuffer.h
2016-10-22 17:35:36 +02:00

31 lines
767 B
Objective-C

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
@import Foundation;
NS_ASSUME_NONNULL_BEGIN
@interface NeoVimBuffer : NSObject <NSCoding>
@property (nonatomic, readonly) NSUInteger handle;
@property (nonatomic, retain, nullable) NSString *fileName;
@property (nonatomic, readonly) bool isDirty;
@property (nonatomic, readonly) bool isCurrent;
@property (nonatomic, readonly) bool isTransient;
- (instancetype)initWithHandle:(NSUInteger)handle
fileName:(NSString * _Nullable)fileName
dirty:(bool)dirty
current:(bool)current;
- (instancetype)initWithCoder:(NSCoder *)coder;
- (void)encodeWithCoder:(NSCoder *)coder;
- (NSString *)description;
@end
NS_ASSUME_NONNULL_END