lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
include
Lv2SubPluginFeatures.h
Go to the documentation of this file.
1
/*
2
* Lv2SubPluginFeatures.h - derivation from
3
* Plugin::Descriptor::SubPluginFeatures for
4
* hosting LV2 plugins
5
*
6
* Copyright (c) 2018-2023 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
7
*
8
* This file is part of LMMS - https://lmms.io
9
*
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public
21
* License along with this program (see COPYING); if not, write to the
22
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23
* Boston, MA 02110-1301 USA.
24
*
25
*/
26
27
#ifndef LMMS_LV2_SUBPLUGIN_FEATURES_H
28
#define LMMS_LV2_SUBPLUGIN_FEATURES_H
29
30
#include "lmmsconfig.h"
31
32
#ifdef LMMS_HAVE_LV2
33
34
#include <lilv/lilv.h>
35
36
#include "lmms_export.h"
37
#include "
Plugin.h
"
38
39
namespace
lmms
40
{
41
42
43
class
LMMS_EXPORT
Lv2SubPluginFeatures
:
public
Plugin::Descriptor::SubPluginFeatures
44
{
45
private
:
46
static
const
LilvPlugin *
getPlugin
(
const
Key
&k);
47
static
QString
pluginName
(
const
LilvPlugin *plug);
48
49
public
:
50
Lv2SubPluginFeatures
(
Plugin::Type
type);
51
52
void
fillDescriptionWidget
(
53
QWidget *parent,
const
Key
*k)
const override
;
54
55
QString
additionalFileExtensions
(
const
Key
&k)
const override
;
56
QString
displayName
(
const
Key
&k)
const override
;
57
QString
description
(
const
Key
&k)
const override
;
58
const
PixmapLoader
*
logo
(
const
Key
&k)
const override
;
59
60
void
listSubPluginKeys
(
61
const
Plugin::Descriptor
*desc,
KeyList
&kl)
const override
;
62
};
63
64
65
}
// namespace lmms
66
67
#endif
// LMMS_HAVE_LV2
68
69
#endif
// LMMS_LV2_SUBPLUGIN_FEATURES_H
Plugin.h
lmms::Lv2SubPluginFeatures::logo
const PixmapLoader * logo(const Key &k) const override
Definition
Lv2SubPluginFeatures.cpp:239
lmms::Lv2SubPluginFeatures::fillDescriptionWidget
void fillDescriptionWidget(QWidget *parent, const Key *k) const override
Definition
Lv2SubPluginFeatures.cpp:130
lmms::Lv2SubPluginFeatures::Lv2SubPluginFeatures
Lv2SubPluginFeatures(Plugin::Type type)
Definition
Lv2SubPluginFeatures.cpp:62
lmms::Lv2SubPluginFeatures::description
QString description(const Key &k) const override
Definition
Lv2SubPluginFeatures.cpp:215
lmms::Lv2SubPluginFeatures::displayName
QString displayName(const Key &k) const override
Definition
Lv2SubPluginFeatures.cpp:206
lmms::Lv2SubPluginFeatures::additionalFileExtensions
QString additionalFileExtensions(const Key &k) const override
Definition
Lv2SubPluginFeatures.cpp:194
lmms::Lv2SubPluginFeatures::getPlugin
static const LilvPlugin * getPlugin(const Key &k)
Definition
Lv2SubPluginFeatures.cpp:42
lmms::Lv2SubPluginFeatures::pluginName
static QString pluginName(const LilvPlugin *plug)
Definition
Lv2SubPluginFeatures.cpp:54
lmms::Lv2SubPluginFeatures::listSubPluginKeys
void listSubPluginKeys(const Plugin::Descriptor *desc, KeyList &kl) const override
Definition
Lv2SubPluginFeatures.cpp:249
lmms::PixmapLoader
Definition
embed.h:73
lmms::Plugin::Descriptor::SubPluginFeatures
Definition
Plugin.h:119
lmms::Plugin::Descriptor::SubPluginFeatures::KeyList
QList< Key > KeyList
Definition
Plugin.h:180
lmms::Plugin::Type
Type
Definition
Plugin.h:76
lmms
Definition
RemotePluginBase.cpp:34
lmms::Plugin::Descriptor::SubPluginFeatures::Key
Definition
Plugin.h:136
lmms::Plugin::Descriptor
Definition
Plugin.h:92
Generated on
for lmms by
1.18.0