| 2034 | |
| 2035 | |
| 2036 | String DeprecationChecker::getErrorMessage(int id) |
| 2037 | { |
| 2038 | switch ((DeprecationId)id) |
| 2039 | { |
| 2040 | case DeprecationId::ConverterNotIdentity: |
| 2041 | return "The Converter is not identity\n(use the control.xfader instead)"; |
| 2042 | case DeprecationId::OpTypeNonSet: |
| 2043 | return "The OpType is not SetValue\n(use control.pma instead)"; |
| 2044 | default: |
| 2045 | break; |
| 2046 | } |
| 2047 | |
| 2048 | return {}; |
| 2049 | } |
| 2050 | |
| 2051 | void DeprecationChecker::throwIf(DeprecationId id) |
| 2052 | { |