Add protocols to NSComboBox. Leave informal protocols in place.

This commit is contained in:
Gregory John Casamento 2021-09-26 05:37:57 -04:00
parent 9abf2a7494
commit 04dfeb9501

View file

@ -106,6 +106,9 @@
#endif
@end
@protocol NSComboBoxDataSource <NSObject>
@end
@interface NSObject (NSComboBoxNotifications)
- (void) comboBoxWillPopUp: (NSNotification *)notification;
- (void) comboBoxWillDismiss: (NSNotification *)notification;
@ -113,6 +116,9 @@
- (void) comboBoxSelectionIsChanging: (NSNotification *)notification;
@end
@protocol NSComboBoxDelegate <NSTextFieldDelegate>
@end
APPKIT_EXPORT NSString *NSComboBoxWillPopUpNotification;
APPKIT_EXPORT NSString *NSComboBoxWillDismissNotification;
APPKIT_EXPORT NSString *NSComboBoxSelectionDidChangeNotification;