| 23 | } |
| 24 | |
| 25 | void TransitionSelection::Load(obs_data_t *obj, const char *name, |
| 26 | const char *typeName) |
| 27 | { |
| 28 | _type = static_cast<Type>(obs_data_get_int(obj, typeName)); |
| 29 | auto target = obs_data_get_string(obj, name); |
| 30 | switch (_type) { |
| 31 | case Type::TRANSITION: |
| 32 | _transition = GetWeakTransitionByName(target); |
| 33 | break; |
| 34 | default: |
| 35 | break; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | OBSWeakSource TransitionSelection::GetTransition() const |
| 40 | { |
nothing calls this directly
no test coverage detected