Skip to content
Snippets Groups Projects
Commit 67e5b0c0 authored by C.W. Betts's avatar C.W. Betts
Browse files

Make sure all protocols inherit from the NSObject protocol.

parent 9d6a1a2c
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
Loading
Loading
@@ -29,7 +29,7 @@
#import <Cocoa/Cocoa.h>
#import "FutureMethods.h"
 
@protocol FindViewControllerDelegate
@protocol FindViewControllerDelegate <NSObject>
 
// Returns true if there is a text area to search.
- (BOOL)canSearch;
Loading
Loading
Loading
Loading
@@ -40,7 +40,7 @@
@class iTermSearchField;
@class PTYSession;
 
@protocol GlobalSearchDelegate
@protocol GlobalSearchDelegate <NSObject>
 
- (void)globalSearchSelectionChangedToSession:(PTYSession*)theSession;
- (void)globalSearchOpenSelection;
Loading
Loading
Loading
Loading
@@ -17,7 +17,7 @@ typedef NS_ENUM(NSInteger, PTYNoteViewTipEdge) {
kPTYNoteViewTipEdgeBottom
};
 
@protocol PTYNoteViewDelegate
@protocol PTYNoteViewDelegate <NSObject>
- (PTYNoteViewController *)noteViewController;
- (void)killNote;
@end
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@ extern NSString * const PTYNoteViewControllerShouldUpdatePosition;
 
@class PTYNoteViewController;
 
@protocol PTYNoteViewControllerDelegate
@protocol PTYNoteViewControllerDelegate <NSObject>
- (void)noteDidRequestRemoval:(PTYNoteViewController *)note;
- (void)noteDidEndEditing:(PTYNoteViewController *)note;
@end
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@
@class VT100ScreenMark;
@class VT100Terminal;
 
@protocol PTYTextViewDataSource
@protocol PTYTextViewDataSource <NSObject>
 
- (VT100Terminal *)terminal;
- (int)numberOfLines;
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
 
@class PasteContext;
 
@protocol PasteViewControllerDelegate
@protocol PasteViewControllerDelegate <NSObject>
 
- (void)pasteViewControllerDidCancel;
 
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
 
#import <Cocoa/Cocoa.h>
 
@protocol PointerControllerDelegate
@protocol PointerControllerDelegate <NSObject>
 
- (void)pasteFromClipboardWithEvent:(NSEvent *)event;
- (void)pasteFromSelectionWithEvent:(NSEvent *)event;
Loading
Loading
Loading
Loading
@@ -7,7 +7,7 @@
 
#import <AppKit/AppKit.h>
 
@protocol ProfileTableMenuHandler
@protocol ProfileTableMenuHandler <NSObject>
 
- (NSMenu *)menuForEvent:(NSEvent *)theEvent;
 
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
 
#import <Cocoa/Cocoa.h>
 
@protocol SessionTitleViewDelegate
@protocol SessionTitleViewDelegate <NSObject>
 
- (NSColor *)tabColor;
- (NSMenu *)menu;
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
 
@class SmartSelectionController;
 
@protocol SmartSelectionDelegate
@protocol SmartSelectionDelegate <NSObject>
- (void)smartSelectionChanged:(SmartSelectionController *)controller;
@end
 
Loading
Loading
Loading
Loading
@@ -21,7 +21,7 @@ typedef enum {
 
@class PTYSession;
 
@protocol SplitSelectionViewDelegate
@protocol SplitSelectionViewDelegate <NSObject>
 
// dest will be null when canceling.
- (void)didSelectDestinationSession:(PTYSession *)dest
Loading
Loading
Loading
Loading
@@ -21,7 +21,7 @@ extern const int kTmuxGatewayCommandWantsData;
 
extern NSString * const kTmuxGatewayErrorDomain;
 
@protocol TmuxGatewayDelegate
@protocol TmuxGatewayDelegate <NSObject>
 
- (TmuxController *)tmuxController;
- (void)tmuxUpdateLayoutForWindow:(int)windowId
Loading
Loading
Loading
Loading
@@ -9,7 +9,7 @@
#import <Cocoa/Cocoa.h>
#import "FutureMethods.h"
 
@protocol TmuxSessionsTableProtocol
@protocol TmuxSessionsTableProtocol <NSObject>
 
- (NSArray *)sessions;
- (void)renameSessionWithName:(NSString *)oldName toName:(NSString *)newName;
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
 
extern NSString *kWindowPasteboardType;
 
@protocol TmuxWindowsTableProtocol
@protocol TmuxWindowsTableProtocol <NSObject>
 
- (void)reloadWindows;
- (void)renameWindowWithId:(int)windowId toName:(NSString *)newName;
Loading
Loading
Loading
Loading
@@ -10,7 +10,7 @@
 
@class TriggerController;
 
@protocol TriggerDelegate
@protocol TriggerDelegate <NSObject>
- (void)triggerChanged:(TriggerController *)controller newValue:(NSArray *)value;
@end
 
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@
@class CapturedOutput;
@protocol iTermMark;
 
@protocol iTermMarkDelegate
@protocol iTermMarkDelegate <NSObject>
- (void)markDidBecomeCommandMark:(id<iTermMark>)mark;
@end
 
Loading
Loading
Loading
Loading
@@ -32,7 +32,7 @@ typedef NS_ENUM(NSInteger, VT100TerminalUnits) {
kVT100TerminalUnitsAuto,
};
 
@protocol VT100TerminalDelegate
@protocol VT100TerminalDelegate <NSObject>
// Append a string at the cursor's position and advance the cursor, scrolling if necessary.
- (void)terminalAppendString:(NSString *)string;
- (void)terminalAppendAsciiData:(AsciiData *)asciiData;
Loading
Loading
Loading
Loading
@@ -11,7 +11,7 @@
 
@class iTermAnnouncementViewController;
 
@protocol iTermAnnouncementDelegate
@protocol iTermAnnouncementDelegate <NSObject>
- (void)announcementWillDismiss:(iTermAnnouncementViewController *)announcement;
@end
 
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@
@class PTYSession;
@class PTYTab;
 
@protocol iTermExposeTabViewDelegate
@protocol iTermExposeTabViewDelegate <NSObject>
 
- (void)onSelection:(iTermExposeTabView*)theView session:(PTYSession*)theSession;
 
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@
 
#import <Cocoa/Cocoa.h>
 
@protocol iTermInstantReplayDelegate
@protocol iTermInstantReplayDelegate <NSObject>
- (void)replaceSyntheticActiveSessionWithLiveSessionIfNeeded;
- (void)instantReplaySeekTo:(float)position;
- (void)instantReplayStep:(int)direction;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment