| 185 | } |
| 186 | |
| 187 | type boolProperty struct { |
| 188 | get func() bool |
| 189 | set func(v bool) error |
| 190 | changed *Event |
| 191 | source interface{} |
| 192 | sourceChangedHandle int |
| 193 | } |
| 194 | |
| 195 | func NewBoolProperty(get func() bool, set func(b bool) error, changed *Event) Property { |
| 196 | return &boolProperty{get: get, set: set, changed: changed} |
nothing calls this directly
no outgoing calls
no test coverage detected