KFileMetaData

appimageextractor.h
1/*
2 SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <kossebau@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef APPIMAGEEXTRACTOR_H
8#define APPIMAGEEXTRACTOR_H
9
10#include "extractorplugin.h"
11
12namespace KFileMetaData
13{
14
15class AppImageExtractor : public ExtractorPlugin
16{
18 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
19 FILE "appimageextractor.json")
21
22public:
23 explicit AppImageExtractor(QObject* parent = nullptr);
24
25public:
26 void extract(ExtractionResult* result) override;
27 QStringList mimetypes() const override;
28};
29
30}
31
32#endif
The ExtractorPlugin is the base class for all file metadata extractors.
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 Tue Mar 26 2024 11:17:53 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.