From | struct QLGeneratorInterfaceStruct {
var _reserved: UnsafeMutableRawPointer!
var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!
var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!
var Release: ((UnsafeMutableRawPointer?) -> ULONG)!
var GenerateThumbnailForURL: ((UnsafeMutableRawPointer?, QLThumbnailRequest?, CFURL?, CFString?, CFDictionary?, CGSize) -> OSStatus)!
var CancelThumbnailGeneration: ((UnsafeMutableRawPointer?, QLThumbnailRequest?) -> Swift.Void)!
var GeneratePreviewForURL: ((UnsafeMutableRawPointer?, QLPreviewRequest?, CFURL?, CFString?, CFDictionary?) -> OSStatus)!
var CancelPreviewGeneration: ((UnsafeMutableRawPointer?, QLPreviewRequest?) -> Swift.Void)!
init()
init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: (@escaping (UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, Release Release: (@escaping (UnsafeMutableRawPointer?) -> ULONG)!, GenerateThumbnailForURL GenerateThumbnailForURL: (@escaping (UnsafeMutableRawPointer?, QLThumbnailRequest?, CFURL?, CFString?, CFDictionary?, CGSize) -> OSStatus)!, CancelThumbnailGeneration CancelThumbnailGeneration: (@escaping (UnsafeMutableRawPointer?, QLThumbnailRequest?) -> Swift.Void)!, GeneratePreviewForURL GeneratePreviewForURL: (@escaping (UnsafeMutableRawPointer?, QLPreviewRequest?, CFURL?, CFString?, CFDictionary?) -> OSStatus)!, CancelPreviewGeneration CancelPreviewGeneration: (@escaping (UnsafeMutableRawPointer?, QLPreviewRequest?) -> Swift.Void)!)
} |
To | struct QLGeneratorInterfaceStruct {
var _reserved: UnsafeMutableRawPointer!
var QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!
var AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!
var Release: ((UnsafeMutableRawPointer?) -> ULONG)!
var GenerateThumbnailForURL: ((UnsafeMutableRawPointer?, QLThumbnailRequest?, CFURL?, CFString?, CFDictionary?, CGSize) -> OSStatus)!
var CancelThumbnailGeneration: ((UnsafeMutableRawPointer?, QLThumbnailRequest?) -> Swift.Void)!
var GeneratePreviewForURL: ((UnsafeMutableRawPointer?, QLPreviewRequest?, CFURL?, CFString?, CFDictionary?) -> OSStatus)!
var CancelPreviewGeneration: ((UnsafeMutableRawPointer?, QLPreviewRequest?) -> Swift.Void)!
init()
init(_reserved _reserved: UnsafeMutableRawPointer!, QueryInterface QueryInterface: ((UnsafeMutableRawPointer?, REFIID, UnsafeMutablePointer<LPVOID?>?) -> HRESULT)!, AddRef AddRef: ((UnsafeMutableRawPointer?) -> ULONG)!, Release Release: ((UnsafeMutableRawPointer?) -> ULONG)!, GenerateThumbnailForURL GenerateThumbnailForURL: ((UnsafeMutableRawPointer?, QLThumbnailRequest?, CFURL?, CFString?, CFDictionary?, CGSize) -> OSStatus)!, CancelThumbnailGeneration CancelThumbnailGeneration: ((UnsafeMutableRawPointer?, QLThumbnailRequest?) -> Swift.Void)!, GeneratePreviewForURL GeneratePreviewForURL: ((UnsafeMutableRawPointer?, QLPreviewRequest?, CFURL?, CFString?, CFDictionary?) -> OSStatus)!, CancelPreviewGeneration CancelPreviewGeneration: ((UnsafeMutableRawPointer?, QLPreviewRequest?) -> Swift.Void)!)
} |
---|