2016-06-23 15:49:42 +02:00
|
|
|
#ifndef NUMBERSERIESSERVICE_H
|
|
|
|
|
#define NUMBERSERIESSERVICE_H
|
|
|
|
|
|
|
|
|
|
#include "data/numberseries.h"
|
|
|
|
|
#include "data/season.h"
|
|
|
|
|
#include "service.h"
|
|
|
|
|
#include "core_global.h"
|
|
|
|
|
|
|
|
|
|
class CORESHARED_EXPORT NumberSeriesService : public Service<NumberSeries>
|
|
|
|
|
{
|
|
|
|
|
public:
|
2023-04-28 22:25:29 +02:00
|
|
|
NumberSeriesService() = default;
|
2016-06-23 15:49:42 +02:00
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
QSharedPointer<NumberSeries> forPluginAndSeason(const QString& pluginId, const QSharedPointer<Season>& season);
|
|
|
|
|
QSharedPointer<NumberSeries> forPlugin(const QString& pluginId);
|
|
|
|
|
QSharedPointer<NumberSeries> nextForPlugin(const QString& pluginId, qx::QxSession* pSession = nullptr);
|
|
|
|
|
QList<QSharedPointer<NumberSeries> > allForSeason(const QSharedPointer<Season>& season);
|
|
|
|
|
QString nextStrForPlugin(const QString& pluginId, qx::QxSession* pSession = nullptr);
|
2016-06-23 15:49:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // NUMBERSERIESSERVICE_H
|