1 | /* |
2 | SPDX-FileCopyrightText: 2013 Vishesh Handa <me@vhanda.in> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-or-later |
5 | */ |
6 | |
7 | |
8 | #ifndef ODF_EXTRACTOR_H |
9 | #define |
10 | |
11 | #include "extractorplugin.h" |
12 | |
13 | class QIODevice; |
14 | |
15 | namespace KFileMetaData |
16 | { |
17 | |
18 | class : public ExtractorPlugin |
19 | { |
20 | Q_OBJECT |
21 | Q_PLUGIN_METADATA(IID kfilemetadata_extractor_iid |
22 | FILE "odfextractor.json" ) |
23 | Q_INTERFACES(KFileMetaData::ExtractorPlugin) |
24 | |
25 | public: |
26 | explicit (QObject* parent = nullptr); |
27 | |
28 | QStringList () const override; |
29 | void (ExtractionResult* result) override; |
30 | |
31 | private: |
32 | void (const QString &documentElementId, const QByteArray &data, ExtractionResult *result); |
33 | void (QIODevice *device, ExtractionResult *result); |
34 | }; |
35 | } |
36 | |
37 | #endif // ODF_EXTRACTOR_H |
38 | |