KFileMetaData

externalextractor.h
1/*
2 This file is part of the KFileMetaData project
3 SPDX-FileCopyrightText: 2016 Varun Joshi <varunj.1011@gmail.com>
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
13namespace KFileMetaData {
14class ExternalExtractorPrivate;
15class ExternalExtractor : public ExtractorPlugin
16{
17
19
20public:
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
28private:
29 std::unique_ptr<ExternalExtractorPrivate> d_ptr;
30 Q_DECLARE_PRIVATE(ExternalExtractor)
31};
32}
33
34#endif // EXTERNALEXTRACTOR_H
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:44:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.