mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
* Headers/AppKit/NSBrowser.h,
* Headers/AppKit/NSComboBoxCell.h: Add missing protocol declarations. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47dc548684
commit
ffe06259ba
3 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-11-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSBrowser.h,
|
||||
* Headers/AppKit/NSComboBoxCell.h: Add missing protocol declarations.
|
||||
|
||||
2014-11-04 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSParagraphStyle.m (+defaultParagraphStyle): Comment out
|
||||
|
|
|
@ -315,7 +315,13 @@ typedef NSUInteger NSBrowserColumnResizingType;
|
|||
//
|
||||
// Methods Implemented by the Delegate
|
||||
//
|
||||
@protocol NSBrowserDelegate <NSObject>
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST) && GS_PROTOCOLS_HAVE_OPTIONAL
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSBrowserDelegate)
|
||||
#endif
|
||||
|
||||
- (void) browser: (NSBrowser *)sender createRowsForColumn: (NSInteger)column
|
||||
inMatrix: (NSMatrix *)matrix;
|
||||
|
|
|
@ -117,7 +117,13 @@
|
|||
#endif
|
||||
@end
|
||||
|
||||
@protocol NSComboBoxCellDataSource <NSObject>
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST) && GS_PROTOCOLS_HAVE_OPTIONAL
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSComboBoxCellDataSource)
|
||||
#endif
|
||||
- (NSInteger)numberOfItemsInComboBoxCell:(NSComboBoxCell *)comboBoxCell;
|
||||
- (id)comboBoxCell:(NSComboBoxCell *)aComboBoxCell
|
||||
objectValueForItemAtIndex:(NSInteger)index;
|
||||
|
|
Loading…
Reference in a new issue