File indexing completed on 2024-05-12 15:37:07

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 TAGLIBEXTRACTOR_H
0009 #define TAGLIBEXTRACTOR_H
0010 
0011 #include "extractorplugin.h"
0012 
0013 namespace KFileMetaData
0014 {
0015 
0016 class TagLibExtractor : public ExtractorPlugin
0017 {
0018     Q_OBJECT
0019     Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
0020                       FILE "taglibextractor.json")
0021     Q_INTERFACES(KFileMetaData::ExtractorPlugin)
0022 
0023 public:
0024     explicit TagLibExtractor(QObject* parent = nullptr);
0025 
0026     void extract(ExtractionResult* result) override;
0027     QStringList mimetypes() const override;
0028 
0029 };
0030 
0031 }
0032 
0033 #endif // TAGLIBEXTRACTOR_H