You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prodejna/core/numberseriesservice.h

22 lines
799 B
C++

#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:
NumberSeriesService() = default;
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);
};
#endif // NUMBERSERIESSERVICE_H