mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Fix optional NSFilePresenter methods not being declared as optional.
This commit is contained in:
parent
21ddc5fefb
commit
d04bbaafd7
1 changed files with 7 additions and 2 deletions
|
@ -39,11 +39,16 @@ DEFINE_BLOCK_TYPE(GSFilePresentedItemChangesWithCompletionHandler, void, NSError
|
||||||
|
|
||||||
@protocol NSFilePresenter <NSObject>
|
@protocol NSFilePresenter <NSObject>
|
||||||
|
|
||||||
// @required
|
|
||||||
- (NSURL *) presentedItemURL;
|
- (NSURL *) presentedItemURL;
|
||||||
- (NSOperationQueue *) presentedItemOperationQueue;
|
- (NSOperationQueue *) presentedItemOperationQueue;
|
||||||
|
|
||||||
// @optional
|
#if GS_PROTOCOLS_HAVE_OPTIONAL
|
||||||
|
@optional
|
||||||
|
#else
|
||||||
|
@end
|
||||||
|
@interface NSObject (NSFilePresenter)
|
||||||
|
#endif
|
||||||
|
|
||||||
- (NSURL *) primaryPresentedItemURL;
|
- (NSURL *) primaryPresentedItemURL;
|
||||||
- (NSString *) observedPresentedItemUbiquityAttributes;
|
- (NSString *) observedPresentedItemUbiquityAttributes;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue