mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Merge pull request #139 from triplef/fix-nsfilepresenter-optional
Fix optional NSFilePresenter methods not being declared as optional.
This commit is contained in:
commit
c2bc6e709a
1 changed files with 7 additions and 2 deletions
|
@ -39,11 +39,16 @@ DEFINE_BLOCK_TYPE(GSFilePresentedItemChangesWithCompletionHandler, void, NSError
|
|||
|
||||
@protocol NSFilePresenter <NSObject>
|
||||
|
||||
// @required
|
||||
- (NSURL *) presentedItemURL;
|
||||
- (NSOperationQueue *) presentedItemOperationQueue;
|
||||
|
||||
// @optional
|
||||
#if GS_PROTOCOLS_HAVE_OPTIONAL
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSFilePresenter)
|
||||
#endif
|
||||
|
||||
- (NSURL *) primaryPresentedItemURL;
|
||||
- (NSString *) observedPresentedItemUbiquityAttributes;
|
||||
|
||||
|
|
Loading…
Reference in a new issue