| 77 | } |
| 78 | |
| 79 | void SystemControl::handleSysImage(const QString& name, const Image<ColorRgb>& image) |
| 80 | { |
| 81 | if (!_sysCaptEnabled) |
| 82 | return; |
| 83 | |
| 84 | if (_sysCaptName != name) |
| 85 | { |
| 86 | _sysCaptName = name; |
| 87 | _hyperhdr->registerInput(_sysCaptPrio, hyperhdr::COMP_SYSTEMGRABBER, "System", _sysCaptName); |
| 88 | } |
| 89 | |
| 90 | _alive = true; |
| 91 | |
| 92 | if (!_sysInactiveTimer->isActive() && _sysInactiveTimer->remainingTime() < 0) |
| 93 | _sysInactiveTimer->start(); |
| 94 | |
| 95 | _hyperhdr->setInputImage(_sysCaptPrio, image); |
| 96 | } |
| 97 | |
| 98 | void SystemControl::setSysCaptureEnable(bool enable) |
| 99 | { |
nothing calls this directly
no test coverage detected