KFileMetaData
7 #ifndef KFILEMETADATA_EXTRACTOR_H
8 #define KFILEMETADATA_EXTRACTOR_H
10 #include "kfilemetadata_export.h"
11 #include <QStringList>
12 #include <QVariantMap>
16 namespace KFileMetaData {
18 class ExtractionResult;
19 class ExtractorCollection;
20 class ExtractorPlugin;
21 class ExtractorPrivate;
26 class KFILEMETADATA_EXPORT Extractor
28 enum ExtractorPluginOwnership {
34 Extractor(Extractor&&);
35 virtual ~Extractor() noexcept;
37 void extract(ExtractionResult* result);
39 QVariantMap extractorProperties() const;
43 Extractor(const Extractor&);
45 void operator =(const Extractor&);
47 void setExtractorPlugin(ExtractorPlugin *extractorPlugin);
49 void setAutoDeletePlugin(ExtractorPluginOwnership autoDelete);
51 void setMetaData(const QVariantMap &metaData);
53 friend class ExtractorCollection;
54 friend class ExtractorCollectionPrivate;
55 friend class ExtractorPrivate;
56 std::unique_ptr<ExtractorPrivate> d;
60 #endif // KFILEMETADATA_EXTRACTOR_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu May 26 2022 03:46:07 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.