Revision: 29035
http://sourceforge.net/p/bibdesk/svn/29035
Author: hofman
Date: 2025-02-19 23:27:18 +0000 (Wed, 19 Feb 2025)
Log Message:
-----------
Add nullability to QuickLook importer classes
Modified Paths:
--------------
trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h
trunk/QuickLook-BibDesk/BDSKSyntaxHighlighter.h
Modified: trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h
===================================================================
--- trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h 2025-02-19
23:20:55 UTC (rev 29034)
+++ trunk/QuickLook-BibDesk/BDSKSpotlightIconController.h 2025-02-19
23:27:18 UTC (rev 29035)
@@ -37,6 +37,8 @@
*/
#import <Cocoa/Cocoa.h>
+NS_ASSUME_NONNULL_BEGIN
+
@class BDSKClearView, BDSKSpotlightIconTableView;
@interface BDSKSpotlightIconController : NSObject {
@@ -49,8 +51,8 @@
+ (NSBitmapImageRep *)imageRepWithMetadataItem:(id)anItem forBundle:(NSBundle
*)bundle;
+ (NSBitmapImageRep *)imageRepWithSearchItem:(id)anItem forBundle:(NSBundle
*)bundle;
-@property (nonatomic, strong) IBOutlet NSWindow *window;
-@property (nonatomic, strong) IBOutlet NSArrayController *arrayController;
+@property (nonatomic, nullable, strong) IBOutlet NSWindow *window;
+@property (nonatomic, nullable, strong) IBOutlet NSArrayController
*arrayController;
@end
@@ -59,3 +61,5 @@
@interface BDSKClearView : NSView
@end
+
+NS_ASSUME_NONNULL_END
Modified: trunk/QuickLook-BibDesk/BDSKSyntaxHighlighter.h
===================================================================
--- trunk/QuickLook-BibDesk/BDSKSyntaxHighlighter.h 2025-02-19 23:20:55 UTC
(rev 29034)
+++ trunk/QuickLook-BibDesk/BDSKSyntaxHighlighter.h 2025-02-19 23:27:18 UTC
(rev 29035)
@@ -38,13 +38,14 @@
#import <Cocoa/Cocoa.h>
+NS_ASSUME_NONNULL_BEGIN
-@interface BDSKSyntaxHighlighter : NSObject {
+@interface BDSKSyntaxHighlighter : NSObject
-}
-
+ (NSData *)HTMLDataWithBibTeXString:(NSString *)aString;
+ (NSData *)RTFDataWithBibTeXString:(NSString *)aString;
+ (NSAttributedString *)highlightedStringWithBibTeXString:(NSString *)aString;
@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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit