File indexing completed on 2024-11-17 04:43:14
0001 /* 0002 SPDX-FileCopyrightText: 2022 Kai Uwe Broulik <kde@broulik.de> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef ITINERARYCREATOR_H 0008 #define ITINERARYCREATOR_H 0009 0010 #include <KFileMetaData/ExtractorPlugin> 0011 0012 namespace KFileMetaData 0013 { 0014 0015 class ItineraryExtractor : public ExtractorPlugin 0016 { 0017 Q_OBJECT 0018 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin" 0019 FILE "itineraryextractor.json") 0020 Q_INTERFACES(KFileMetaData::ExtractorPlugin) 0021 0022 public: 0023 explicit ItineraryExtractor(QObject *parent = nullptr); 0024 0025 public: 0026 void extract(ExtractionResult *result) override; 0027 QStringList mimetypes() const override; 0028 }; 0029 0030 } 0031 0032 #endif // ITINERARYCREATOR_H