Revision: 29030 http://sourceforge.net/p/bibdesk/svn/29030 Author: hofman Date: 2025-02-19 17:05:27 +0000 (Wed, 19 Feb 2025) Log Message: ----------- Add nullability to owner protocol
Modified Paths: -------------- trunk/bibdesk/BDSKOwnerProtocol.h Modified: trunk/bibdesk/BDSKOwnerProtocol.h =================================================================== --- trunk/bibdesk/BDSKOwnerProtocol.h 2025-02-19 17:02:19 UTC (rev 29029) +++ trunk/bibdesk/BDSKOwnerProtocol.h 2025-02-19 17:05:27 UTC (rev 29030) @@ -38,6 +38,8 @@ #import <Cocoa/Cocoa.h> +NS_ASSUME_NONNULL_BEGIN + @class BDSKPublicationsArray, BDSKMacroResolver; // this protocol describes the methods for a stand-in for the document, documents of BibItem and BDSKMacroResolver should conform to this @@ -44,12 +46,14 @@ @protocol BDSKOwner <NSObject> - (BOOL)isDocument; -- (BDSKPublicationsArray *)publications; -- (BDSKMacroResolver *)macroResolver; -- (NSUndoManager *)undoManager; -- (NSURL *)fileURL; -- (NSString *)basePath; -- (NSString *)documentInfoForKey:(NSString *)key; -- (NSWindow *)windowForSheetForObject:(id)object; +- (nullable BDSKPublicationsArray *)publications; +- (nullable BDSKMacroResolver *)macroResolver; +- (nullable NSUndoManager *)undoManager; +- (nullable NSURL *)fileURL; +- (nullable NSString *)basePath; +- (nullable NSString *)documentInfoForKey:(NSString *)key; +- (nullable NSWindow *)windowForSheetForObject:(id)object; @end + +NS_ASSUME_NONNULL_END This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit