KFileMetaData

fb2extractor.h
1/*
2 SPDX-FileCopyrightText: 2022 Kai Uwe Broulik <kde@broulik.de>
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
12namespace KFileMetaData
13{
14class Fb2Extractor : public ExtractorPlugin
15{
17 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin" FILE "fb2extractor.json")
19
20public:
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
The ExtractorPlugin is the base class for all file metadata extractors.
The KFileMetaData namespace.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.