Fix QuickLook (#3001)

* Fix QuickLook symbol not found; add file sort and filesize
This commit is contained in:
A Cœur
2022-05-20 12:07:17 +08:00
committed by GitHub
parent f71ace588f
commit 2e25370cc5
9 changed files with 34 additions and 14 deletions

View File

@@ -1,9 +1,11 @@
#import <CoreFoundation/CoreFoundation.h>
#import <CoreServices/CoreServices.h>
#import <CoreFoundation/CFPlugInCOM.h>
#import <QuickLook/QuickLook.h>
QL_EXTERN_C_BEGIN
OSStatus GenerateThumbnailForURL(void* thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize);
void CancelThumbnailGeneration(void* thisInterface, QLThumbnailRequestRef thumbnail);
QL_EXTERN_C_END
/* -----------------------------------------------------------------------------
Generate a thumbnail for file