| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef GREADERENTRYPOINT_H |
| 4 | #define GREADERENTRYPOINT_H |
| 5 | |
| 6 | #include <librssguard/services/abstract/serviceentrypoint.h> |
| 7 | |
| 8 | class GreaderEntryPoint : public QObject, public ServiceEntryPoint { |
| 9 | Q_OBJECT |
| 10 | Q_PLUGIN_METADATA(IID "io.github.martinrotter.rssguard.greader" FILE "plugin.json") |
| 11 | Q_INTERFACES(ServiceEntryPoint) |
| 12 | |
| 13 | public: |
| 14 | explicit GreaderEntryPoint(QObject* parent = nullptr); |
| 15 | virtual ~GreaderEntryPoint(); |
| 16 | |
| 17 | virtual ServiceRoot* createNewRoot() const; |
| 18 | virtual QList<ServiceRoot*> initializeSubtree() const; |
| 19 | virtual QString name() const; |
| 20 | virtual QString code() const; |
| 21 | virtual QString description() const; |
| 22 | virtual QString author() const; |
| 23 | virtual QIcon icon() const; |
| 24 | }; |
| 25 | |
| 26 | #endif // GREADERENTRYPOINT_H |