2020-10-31 15:16:06 +01:00
|
|
|
#include "../headers/brwidget.h"
|
|
|
|
|
|
|
|
#include "headers/brprovider.h"
|
|
|
|
|
2020-11-04 13:55:37 +01:00
|
|
|
BRWidget::BRWidget(BRProvider* provider, BRFederation federation, int id) : QObject(provider), provider(provider), federation(federation), id(id)
|
2020-10-31 15:16:06 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2020-11-03 15:56:43 +01:00
|
|
|
BRWidget::BRFederation BRWidget::getFederation() const {
|
2020-10-31 15:16:06 +01:00
|
|
|
return this->federation;
|
|
|
|
}
|
|
|
|
|
|
|
|
BRProvider* BRWidget::getProvider() {
|
|
|
|
return this->provider;
|
|
|
|
}
|
2020-11-04 13:55:37 +01:00
|
|
|
|
|
|
|
int BRWidget::getId() const {
|
|
|
|
return this->id;
|
|
|
|
}
|