KFileMetaData

fb2extractor.h
1 /*
2  SPDX-FileCopyrightText: 2022 Kai Uwe Broulik <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #ifndef FB2EXTRACTOR_H
8 #define FB2EXTRACTOR_H
9 
10 #include "extractorplugin.h"
11 
12 namespace KFileMetaData
13 {
14 class Fb2Extractor : public ExtractorPlugin
15 {
16  Q_OBJECT
17  Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin" FILE "fb2extractor.json")
19 
20 public:
21  explicit Fb2Extractor(QObject *parent = nullptr);
22 
23  void extract(ExtractionResult *result) override;
24  QStringList mimetypes() const override;
25 };
26 
27 }
28 
29 #endif // FB2EXTRACTOR_H
Q_OBJECTQ_OBJECT
Q_INTERFACES(...)
The ExtractorPlugin is the base class for all file metadata extractors. It is responsible for extract...
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 03:48:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.