KFileMetaData

ffmpegextractor.h
1/*
2 SPDX-FileCopyrightText: 2012 Vishesh Handa <me@vhanda.in>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7
8#ifndef FFMPEGEXTRACTOR_H
9#define FFMPEGEXTRACTOR_H
10
11#include "extractorplugin.h"
12
13namespace KFileMetaData
14{
15
16class FFmpegExtractor : public ExtractorPlugin
17{
19 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
20 FILE "ffmpegextractor.json")
22
23public:
24 explicit FFmpegExtractor(QObject* parent = nullptr);
25
26 void extract(ExtractionResult* result) override;
27 QStringList mimetypes() const override;
28
29 friend class ffmpegExtractorTest;
30};
31}
32
33#endif // FFMPEGEXTRACTOR_H
The ExtractorPlugin is the base class for all file metadata extractors.
The KFileMetaData namespace.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.