| 11 | const int LightpackPluginInterface::SignalWaitTimeoutMs = 1000; // 1 second |
| 12 | |
| 13 | LightpackPluginInterface::LightpackPluginInterface(QObject *parent) : |
| 14 | QObject(parent) |
| 15 | { |
| 16 | m_isRequestBacklightStatusDone = true; |
| 17 | m_backlightStatusResult = Backlight::StatusUnknown; |
| 18 | initColors(10); |
| 19 | m_timerLock = new QTimer(this); |
| 20 | m_timerLock->start(5000); // check in 5000 ms |
| 21 | connect(m_timerLock, SIGNAL(timeout()), this, SLOT(timeoutLock())); |
| 22 | _plugins.clear(); |
| 23 | } |
| 24 | |
| 25 | LightpackPluginInterface::~LightpackPluginInterface() |
| 26 | { |