Play-/Source/ui_qt/ContinuationChecker.cpp

20 lines
446 B
C++
Raw Normal View History

#include "ContinuationChecker.h"
CContinuationChecker::CContinuationChecker(QObject* parent)
2018-10-11 12:54:56 -04:00
: QObject(parent)
, m_timer(new QTimer(this))
{
connect(m_timer, SIGNAL(timeout()), this, SLOT(updateContinuations()));
m_timer->start(250);
}
CFutureContinuationManager& CContinuationChecker::GetContinuationManager()
{
return m_continuationManager;
}
void CContinuationChecker::updateContinuations()
{
m_continuationManager.Execute();
}