pollymc/logic/BaseUpdate.cpp
Petr Mrázek b979d0ce5d Implement legacy forge button!
Many refactors of the task system.
Progress dialog now accepts generic ProgressProvider objects
2013-09-18 00:00:35 +02:00

11 lines
232 B
C++

#include "BaseUpdate.h"
BaseUpdate::BaseUpdate ( BaseInstance* inst, QObject* parent ) : Task ( parent )
{
m_inst = inst;
}
void BaseUpdate::updateDownloadProgress(qint64 current, qint64 total)
{
emit progress(current, total);
}