mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
19 lines
446 B
C++
19 lines
446 B
C++
#include "ContinuationChecker.h"
|
|
|
|
CContinuationChecker::CContinuationChecker(QObject* parent)
|
|
: 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();
|
|
}
|