23 lines
934 B
Swift
23 lines
934 B
Swift
// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1
|
|
// swiftlint:disable all
|
|
import Foundation
|
|
@_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation
|
|
import CWinRT
|
|
|
|
public enum __IMPL_Microsoft_UI_Xaml_Media_Imaging {
|
|
public class DownloadProgressEventHandlerBridge : WinRTDelegateBridge {
|
|
public typealias Handler = DownloadProgressEventHandler
|
|
public typealias CABI = __x_ABI_CMicrosoft_CUI_CXaml_CMedia_CImaging_CIDownloadProgressEventHandler
|
|
public typealias SwiftABI = __ABI_Microsoft_UI_Xaml_Media_Imaging.DownloadProgressEventHandler
|
|
|
|
public static func from(abi: ComPtr<CABI>?) -> Handler? {
|
|
guard let abi = abi else { return nil }
|
|
let _default = SwiftABI(abi)
|
|
let handler: Handler = { (sender, e) in
|
|
try! _default.InvokeImpl(sender, e)
|
|
}
|
|
return handler
|
|
}
|
|
}
|
|
}
|