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