forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarcode_generator_protocol.gen.go
51 lines (41 loc) · 1.65 KB
/
barcode_generator_protocol.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
49
50
51
// Code generated by DarwinKit. DO NOT EDIT.
package coreimage
import (
"github.com/progrium/darwinkit/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() BarcodeDescriptor
HasBarcodeDescriptor() bool
}
// ensure impl type implements protocol interface
var _ PBarcodeGenerator = (*BarcodeGeneratorObject)(nil)
// A concrete type for the [PBarcodeGenerator] protocol.
type BarcodeGeneratorObject struct {
objc.Object
}
func (b_ BarcodeGeneratorObject) 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_ BarcodeGeneratorObject) SetBarcodeDescriptor(value BarcodeDescriptor) {
objc.Call[objc.Void](b_, objc.Sel("setBarcodeDescriptor:"), value)
}
func (b_ BarcodeGeneratorObject) 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_ BarcodeGeneratorObject) BarcodeDescriptor() BarcodeDescriptor {
rv := objc.Call[BarcodeDescriptor](b_, objc.Sel("barcodeDescriptor"))
return rv
}