KFileMetaData

embeddedimagedata.cpp
1/*
2 SPDX-FileCopyrightText: 2018 Alexander Stippich <a.stippich@gmx.net>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#include "embeddedimagedata.h"
8#include "extractorcollection.h"
9#include "simpleextractionresult.h"
10#include "writedata.h"
11#include "writercollection.h"
12#include "kfilemetadata_debug.h"
13
14#include <QMimeDatabase>
15
16using namespace KFileMetaData;
17
18class Q_DECL_HIDDEN EmbeddedImageData::Private
19{
20public:
21 QMimeDatabase mMimeDatabase;
22 static const QStringList mMimetypes;
23};
24
25const QStringList EmbeddedImageData::Private::mMimetypes =
26{
27 QStringLiteral("audio/flac"),
28 QStringLiteral("audio/mp4"),
29 QStringLiteral("audio/mpeg"),
30 QStringLiteral("audio/ogg"),
31 QStringLiteral("audio/wav"),
32 QStringLiteral("audio/x-aiff"),
33 QStringLiteral("audio/x-ape"),
34 QStringLiteral("audio/x-ms-wma"),
35 QStringLiteral("audio/x-musepack"),
36 QStringLiteral("audio/x-opus+ogg"),
37 QStringLiteral("audio/x-speex+ogg"),
38 QStringLiteral("audio/x-vorbis+ogg"),
39 QStringLiteral("audio/x-wav"),
40 QStringLiteral("audio/x-wavpack"),
41};
42
43EmbeddedImageData::EmbeddedImageData()
44 : d(std::unique_ptr<Private>(new Private()))
45{
46}
47
48EmbeddedImageData::~EmbeddedImageData()
49= default;
EmbeddedImageData defines enums for different image types that can be extracted from the metadata of ...
The KFileMetaData namespace.
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.