Changeset View
Changeset View
Standalone View
Standalone View
src/extractors/epubextractor.h
Show All 22 Lines | |||||
23 | #include "extractorplugin.h" | 23 | #include "extractorplugin.h" | ||
24 | 24 | | |||
25 | namespace KFileMetaData | 25 | namespace KFileMetaData | ||
26 | { | 26 | { | ||
27 | 27 | | |||
28 | class EPubExtractor : public ExtractorPlugin | 28 | class EPubExtractor : public ExtractorPlugin | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin") | 31 | Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin" | ||
32 | FILE "epubextractor.json") | ||||
32 | Q_INTERFACES(KFileMetaData::ExtractorPlugin) | 33 | Q_INTERFACES(KFileMetaData::ExtractorPlugin) | ||
33 | 34 | | |||
34 | public: | 35 | public: | ||
35 | explicit EPubExtractor(QObject* parent = nullptr); | 36 | explicit EPubExtractor(QObject* parent = nullptr); | ||
36 | 37 | | |||
37 | void extract(ExtractionResult* result) override; | 38 | void extract(ExtractionResult* result) override; | ||
38 | QStringList mimetypes() const override; | 39 | QStringList mimetypes() const override; | ||
39 | }; | 40 | }; | ||
40 | } | 41 | } | ||
41 | 42 | | |||
42 | #endif // EPUBEXTRACTOR_H | 43 | #endif // EPUBEXTRACTOR_H |