CuteLogger
Fast and simple logging solution for Qt based applications
src
controllers
addonmetadataparser.h
1
/*
2
* Copyright (c) 2026 Meltytech, LLC
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef ADDONMETADATAPARSER_H
19
#define ADDONMETADATAPARSER_H
20
21
#include <MltProperties.h>
22
#include <QList>
23
#include <QString>
24
#include <QStringList>
25
26
struct
AddOnParameterDescriptor
27
{
28
QString name;
29
QString title;
30
QString type;
31
QString widget;
32
bool
isReadOnly =
false
;
33
bool
supportsKeyframes =
false
;
34
QStringList values;
35
QString defaultValue;
36
QString unit;
37
QString minimum;
38
QString maximum;
39
QString description;
40
};
41
42
struct
AddOnFilterDescriptor
43
{
44
QString service;
45
QString title;
46
QString description;
47
bool
isAudio =
false
;
48
QStringList imageFormats;
49
QList<AddOnParameterDescriptor> parameters;
50
};
51
52
class
AddOnMetadataParser
53
{
54
public
:
55
static
AddOnFilterDescriptor parse(
const
QString &service, Mlt::Properties *mltMetadata);
56
};
57
58
#endif
// ADDONMETADATAPARSER_H
Generated on
for CuteLogger by
1.14.0