LMMS
Loading...
Searching...
No Matches
LadspaSubPluginFeatures.h
Go to the documentation of this file.
1/*
2 * LadspaSubPluginFeatures.h - derivation from
3 * Plugin::Descriptor::SubPluginFeatures for
4 * hosting LADSPA-plugins
5 *
6 * Copyright (c) 2006-2007 Danny McRae <khjklujn/at/users.sourceforge.net>
7 * Copyright (c) 2006-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
8 *
9 * This file is part of LMMS - https://lmms.io
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this program (see COPYING); if not, write to the
23 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301 USA.
25 *
26 */
27
28#ifndef LADSPA_SUBPLUGIN_FEATURES_H
29#define LADSPA_SUBPLUGIN_FEATURES_H
30
31#include "LadspaManager.h"
32#include "Plugin.h"
33
34namespace lmms
35{
36
37
39{
40public:
42
43 QString displayName(const Key& k) const override;
44 void fillDescriptionWidget( QWidget * _parent,
45 const Key * _key ) const override;
46
47 void listSubPluginKeys( const Plugin::Descriptor * _desc,
48 KeyList & _kl ) const override;
49
50
51 static ladspa_key_t subPluginKeyToLadspaKey( const Key * _key );
52
53};
54
55
56} // namespace lmms
57
58#endif
QString displayName(const Key &k) const override
Definition LadspaSubPluginFeatures.cpp:50
void fillDescriptionWidget(QWidget *_parent, const Key *_key) const override
Definition LadspaSubPluginFeatures.cpp:60
void listSubPluginKeys(const Plugin::Descriptor *_desc, KeyList &_kl) const override
Definition LadspaSubPluginFeatures.cpp:132
LadspaSubPluginFeatures(Plugin::Type _type)
Definition LadspaSubPluginFeatures.cpp:42
static ladspa_key_t subPluginKeyToLadspaKey(const Key *_key)
Definition LadspaSubPluginFeatures.cpp:170
QList< Key > KeyList
Definition Plugin.h:180
Type
Definition Plugin.h:76
register unsigned k
Definition inflate.c:946
Definition AudioAlsa.cpp:35
QPair< QString, QString > ladspa_key_t
Definition LadspaManager.h:47
Definition Plugin.h:92