Add guards

This commit is contained in:
Gregory John Casamento 2020-08-09 08:00:42 -04:00
parent b9ac34ad0a
commit 46334bf4ca

View file

@ -40,7 +40,9 @@ extern "C" {
@protocol NSTextInputClient
#if GS_PROTOCOLS_HAVE_OPTIONAL
@required
#endif
// Marked text
- (BOOL) hasMarkedText;
- (NSRange) markedRange;
@ -65,7 +67,9 @@ extern "C" {
// Binding keystrokes
- (void) doCommandBySelector: (SEL)selector;
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#endif
// Optional methods
- (NSAttributedString *) attributedString;
- (CGFloat) fractionOfDistanceThroughGlyphForPoint: (NSPoint)point;