File indexing completed on 2025-03-16 12:49:35
0001 /* 0002 SPDX-FileCopyrightText: 2012 Vishesh Handa <me@vhanda.in> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 0008 #ifndef FFMPEGEXTRACTOR_H 0009 #define FFMPEGEXTRACTOR_H 0010 0011 #include "extractorplugin.h" 0012 0013 namespace KFileMetaData 0014 { 0015 0016 class FFmpegExtractor : public ExtractorPlugin 0017 { 0018 Q_OBJECT 0019 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin" 0020 FILE "ffmpegextractor.json") 0021 Q_INTERFACES(KFileMetaData::ExtractorPlugin) 0022 0023 public: 0024 explicit FFmpegExtractor(QObject* parent = nullptr); 0025 0026 void extract(ExtractionResult* result) override; 0027 QStringList mimetypes() const override; 0028 0029 friend class ffmpegExtractorTest; 0030 }; 0031 } 0032 0033 #endif // FFMPEGEXTRACTOR_H