| 232 | return 0; |
| 233 | } |
| 234 | void CecAlert(void *UNUSED(cbParam), const libcec_alert type, const libcec_parameter UNUSED(param)) |
| 235 | { |
| 236 | switch (type) |
| 237 | { |
| 238 | case CEC_ALERT_CONNECTION_LOST: |
| 239 | if (!CReconnect::Get().IsRunning()) |
| 240 | { |
| 241 | PrintToStdOut("Connection lost - trying to reconnect\n"); |
| 242 | CReconnect::Get().CreateThread(false); |
| 243 | } |
| 244 | break; |
| 245 | default: |
| 246 | break; |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | void ListDevices(ICECAdapter *parser) |
| 251 | { |
nothing calls this directly
no test coverage detected