swift-uwp/Sources/UWP/Generated/Windows.UI.Text+ABI.swift
2024-02-15 17:14:48 -08:00

120 lines
5.4 KiB
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
private var IID___x_ABI_CWindows_CUI_CText_CIFontWeights: WindowsFoundation.IID {
.init(Data1: 0x7880A444, Data2: 0x01AB, Data3: 0x4997, Data4: ( 0x85,0x17,0xDF,0x82,0x2A,0x0C,0x45,0xF1 ))// 7880A444-01AB-4997-8517-DF822A0C45F1
}
private var IID___x_ABI_CWindows_CUI_CText_CIFontWeightsStatics: WindowsFoundation.IID {
.init(Data1: 0xB3B579D5, Data2: 0x1BA9, Data3: 0x48EB, Data4: ( 0x9D,0xAD,0xC0,0x95,0xE8,0xC2,0x3B,0xA3 ))// B3B579D5-1BA9-48EB-9DAD-C095E8C23BA3
}
public enum __ABI_Windows_UI_Text {
public class IFontWeights: WindowsFoundation.IInspectable {
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CText_CIFontWeights }
}
public class IFontWeightsStatics: WindowsFoundation.IInspectable {
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CUI_CText_CIFontWeightsStatics }
internal func get_BlackImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Black(pThis, &value))
}
return .from(abi: value)
}
internal func get_BoldImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Bold(pThis, &value))
}
return .from(abi: value)
}
internal func get_ExtraBlackImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtraBlack(pThis, &value))
}
return .from(abi: value)
}
internal func get_ExtraBoldImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtraBold(pThis, &value))
}
return .from(abi: value)
}
internal func get_ExtraLightImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_ExtraLight(pThis, &value))
}
return .from(abi: value)
}
internal func get_LightImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Light(pThis, &value))
}
return .from(abi: value)
}
internal func get_MediumImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Medium(pThis, &value))
}
return .from(abi: value)
}
internal func get_NormalImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Normal(pThis, &value))
}
return .from(abi: value)
}
internal func get_SemiBoldImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SemiBold(pThis, &value))
}
return .from(abi: value)
}
internal func get_SemiLightImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_SemiLight(pThis, &value))
}
return .from(abi: value)
}
internal func get_ThinImpl() throws -> UWP.FontWeight {
var value: __x_ABI_CWindows_CUI_CText_CFontWeight = .init()
_ = try perform(as: __x_ABI_CWindows_CUI_CText_CIFontWeightsStatics.self) { pThis in
try CHECKED(pThis.pointee.lpVtbl.pointee.get_Thin(pThis, &value))
}
return .from(abi: value)
}
}
}
extension __x_ABI_CWindows_CUI_CText_CFontWeight {
public static func from(swift: UWP.FontWeight) -> __x_ABI_CWindows_CUI_CText_CFontWeight {
.init(Weight: swift.weight)
}
}