KFileMetaData

externalextractor.h
1 /*
2  This file is part of the KFileMetaData project
3  SPDX-FileCopyrightText: 2016 Varun Joshi <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 */
7 
8 #ifndef EXTERNALEXTRACTOR_H
9 #define EXTERNALEXTRACTOR_H
10 
11 #include "extractorplugin.h"
12 
13 namespace KFileMetaData {
14 class ExternalExtractorPrivate;
15 class ExternalExtractor : public ExtractorPlugin
16 {
17 
18  Q_OBJECT
19 
20 public:
21  explicit ExternalExtractor(QObject* parent = nullptr);
22  explicit ExternalExtractor(const QString& pluginPath);
23  ~ExternalExtractor() override;
24 
25  QStringList mimetypes() const override;
26  void extract(ExtractionResult* result) override;
27 
28 private:
29  std::unique_ptr<ExternalExtractorPrivate> d_ptr;
30  Q_DECLARE_PRIVATE(ExternalExtractor)
31 };
32 }
33 
34 #endif // EXTERNALEXTRACTOR_H
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:47:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.