KFileMetaData

appimageextractor.h
1 /*
2  SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <[email protected]>
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 
12 namespace KFileMetaData
13 {
14 
15 class AppImageExtractor : public ExtractorPlugin
16 {
17  Q_OBJECT
18  Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
19  FILE "appimageextractor.json")
21 
22 public:
23  explicit AppImageExtractor(QObject* parent = nullptr);
24 
25 public:
26  void extract(ExtractionResult* result) override;
27  QStringList mimetypes() const override;
28 };
29 
30 }
31 
32 #endif
Q_OBJECTQ_OBJECT
Q_INTERFACES(...)
The ExtractorPlugin is the base class for all file metadata extractors. It is responsible for extract...
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:47:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.