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/mpeg3"),
31 QStringLiteral("audio/ogg"),
32 QStringLiteral("audio/opus"),
33 QStringLiteral("audio/wav"),
34 QStringLiteral("audio/x-aiff"),
35 QStringLiteral("audio/x-ape"),
36 QStringLiteral("audio/x-mpeg"),
37 QStringLiteral("audio/x-ms-wma"),
38 QStringLiteral("audio/x-musepack"),
39 QStringLiteral("audio/x-opus+ogg"),
40 QStringLiteral("audio/x-speex+ogg"),
41 QStringLiteral("audio/x-vorbis+ogg"),
42 QStringLiteral("audio/x-wav"),
43 QStringLiteral("audio/x-wavpack"),
44};
45
46EmbeddedImageData::EmbeddedImageData()
47 : d(std::unique_ptr<Private>(new Private()))
48{
49}
50
51EmbeddedImageData::~EmbeddedImageData()
52= default;
EmbeddedImageData defines enums for different image types that can be extracted from the metadata of ...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:44:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.