forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarcode_generator.gen.go
48 lines (39 loc) · 1.56 KB
/
barcode_generator.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"github.com/progrium/macdriver/objc"
)
// The properties you use to configure a barcode generator filter. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarcodegenerator?language=objc
type PBarcodeGenerator interface {
// optional
SetBarcodeDescriptor(value BarcodeDescriptor)
HasSetBarcodeDescriptor() bool
// optional
BarcodeDescriptor() IBarcodeDescriptor
HasBarcodeDescriptor() bool
}
// A concrete type wrapper for the [PBarcodeGenerator] protocol.
type BarcodeGeneratorWrapper struct {
objc.Object
}
func (b_ BarcodeGeneratorWrapper) HasSetBarcodeDescriptor() bool {
return b_.RespondsToSelector(objc.Sel("setBarcodeDescriptor:"))
}
// The barcode descriptor to generate an image for. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarcodegenerator/3228068-barcodedescriptor?language=objc
func (b_ BarcodeGeneratorWrapper) SetBarcodeDescriptor(value IBarcodeDescriptor) {
objc.Call[objc.Void](b_, objc.Sel("setBarcodeDescriptor:"), objc.Ptr(value))
}
func (b_ BarcodeGeneratorWrapper) HasBarcodeDescriptor() bool {
return b_.RespondsToSelector(objc.Sel("barcodeDescriptor"))
}
// The barcode descriptor to generate an image for. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarcodegenerator/3228068-barcodedescriptor?language=objc
func (b_ BarcodeGeneratorWrapper) BarcodeDescriptor() BarcodeDescriptor {
rv := objc.Call[BarcodeDescriptor](b_, objc.Sel("barcodeDescriptor"))
return rv
}