app/sources/brcontroller.cpp
Dorian Zedler 85c8760bed
- moved some stuff
- results work now (still basic)
2020-11-15 14:48:12 +01:00

15 lines
428 B
C++

#include "brcontroller.h"
BRController::BRController(QObject *parent) : QObject(parent)
{
this->providerDr = new BRProviderDr(this);
this->providerVl = new BRProviderVl(this);
}
BRCalendar* BRController::getCalendar(BRWidget::BRFederation federation) {
if(federation == BRWidget::IFSC)
return this->providerVl->getCalendar(federation);
else
return this->providerDr->getCalendar(federation);
}