mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Fix compilation issue
This commit is contained in:
parent
5e1c1da8ff
commit
2e6ca996d0
1 changed files with 7 additions and 3 deletions
|
@ -32,14 +32,18 @@
|
|||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
DEFINE_BLOCK_TYPE(GSSearchItemsMatchedItemHandler, void, NSArray*);
|
||||
|
||||
@protocol NSUserInterfaceItemSearching <NSObject>
|
||||
|
||||
// @required
|
||||
|
||||
- (void)searchForItemsWithSearchString:(NSString *)searchString resultLimit:(NSInteger)resultLimit matchedItemHandler:(void (^)(NSArray *items))handleMatchedItems;
|
||||
- (void) searchForItemsWithSearchString: (NSString *)searchString
|
||||
resultLimit: (NSInteger)resultLimit
|
||||
matchedItemHandler: (GSSearchItemsMatchedItemHandler)handleMatchedItems;
|
||||
|
||||
- (NSArray<NSString *> *)localizedTitlesForItem:(id)item;
|
||||
- (NSArray *)localizedTitlesForItem:(id)item;
|
||||
|
||||
// @optional
|
||||
|
||||
|
|
Loading…
Reference in a new issue