Move protocol conformance declaration to implementation file

This commit is contained in:
Allan Odgaard
2014-11-29 05:25:33 +07:00
parent 4211242920
commit 579cef6f26
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ enum OTVFontSmoothing : NSUInteger
- (std::map<std::string, std::string>)variables;
@end
PUBLIC @interface OakTextView : OakView <NSTextFieldDelegate>
PUBLIC @interface OakTextView : OakView
- (void)setDocument:(document::document_ptr const&)aDocument;
#if !defined(MAC_OS_X_VERSION_10_7) || (MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7)

View File

@@ -229,7 +229,7 @@ struct buffer_refresh_callback_t;
typedef indexed_map_t<OakAccessibleLink*> links_t;
typedef std::shared_ptr<links_t> links_ptr;
@interface OakTextView () <NSTextInputClient, NSIgnoreMisspelledWords, NSChangeSpelling>
@interface OakTextView () <NSTextInputClient, NSIgnoreMisspelledWords, NSChangeSpelling, NSTextFieldDelegate>
{
OBJC_WATCH_LEAKS(OakTextView);