LMMS
Loading...
Searching...
No Matches
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
39namespace lmms
40{
41
42
44{
45private:
46 static const LilvPlugin *getPlugin(const Key &k);
47 static QString pluginName(const LilvPlugin *plug);
48
49public:
51
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
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
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
const PixmapLoader * logo(const Key &k) const override
Definition Lv2SubPluginFeatures.cpp:239
void fillDescriptionWidget(QWidget *parent, const Key *k) const override
Definition Lv2SubPluginFeatures.cpp:130
Lv2SubPluginFeatures(Plugin::Type type)
Definition Lv2SubPluginFeatures.cpp:62
QString description(const Key &k) const override
Definition Lv2SubPluginFeatures.cpp:215
QString displayName(const Key &k) const override
Definition Lv2SubPluginFeatures.cpp:206
QString additionalFileExtensions(const Key &k) const override
Definition Lv2SubPluginFeatures.cpp:194
static const LilvPlugin * getPlugin(const Key &k)
Definition Lv2SubPluginFeatures.cpp:42
static QString pluginName(const LilvPlugin *plug)
Definition Lv2SubPluginFeatures.cpp:54
void listSubPluginKeys(const Plugin::Descriptor *desc, KeyList &kl) const override
Definition Lv2SubPluginFeatures.cpp:249
Definition embed.h:73
QList< Key > KeyList
Definition Plugin.h:180
Type
Definition Plugin.h:76
register unsigned k
Definition inflate.c:946
static uintptr_t parent
Definition pugl.h:1644
struct LilvPluginImpl LilvPlugin
Definition lilv.h:82
Definition AudioAlsa.cpp:35
Definition Plugin.h:92