2016-06-23 15:49:42 +02:00
|
|
|
#ifndef SEASONSERVICE_H
|
|
|
|
|
#define SEASONSERVICE_H
|
|
|
|
|
|
|
|
|
|
#include <QSharedPointer>
|
|
|
|
|
|
|
|
|
|
#include "data/season.h"
|
|
|
|
|
#include "service.h"
|
|
|
|
|
#include "core_global.h"
|
|
|
|
|
|
|
|
|
|
class CORESHARED_EXPORT SeasonService : public Service<Season>
|
|
|
|
|
{
|
|
|
|
|
public:
|
2023-04-28 22:25:29 +02:00
|
|
|
SeasonService() = default;
|
2016-06-23 15:49:42 +02:00
|
|
|
QSharedPointer<Season> active();
|
2023-04-28 22:25:29 +02:00
|
|
|
void activate(const QSharedPointer<Season>& season);
|
2016-06-23 15:49:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // SEASONSERVICE_H
|