| 1 |
/* This file is part of the KDE project |
| 2 |
SPDX-FileCopyrightText: 2022 Dag Andersen <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef REPORTGENERATORFACTORY_H |
| 8 |
#define REPORTGENERATORFACTORY_H |
| 9 |
|
| 10 |
#include "planmodels_export.h" |
| 11 |
|
| 12 |
class QString; |
| 13 |
|
| 14 |
namespace KPlato |
| 15 |
{ |
| 16 |
|
| 17 |
class ReportGenerator; |
| 18 |
|
| 19 |
|
| 20 |
class PLANMODELS_EXPORT ReportGeneratorFactory |
| 21 |
{ |
| 22 |
public: |
| 23 |
explicit ReportGeneratorFactory(); |
| 24 |
virtual ~ReportGeneratorFactory(); |
| 25 |
|
| 26 |
virtual ReportGenerator *createReportGenerator(const QString &type); |
| 27 |
|
| 28 |
protected: |
| 29 |
|
| 30 |
}; |
| 31 |
|
| 32 |
} //namespace KPlato |
| 33 |
|
| 34 |
#endif // REPORTGENERATORFACTORY_H |