LMMS
Loading...
Searching...
No Matches
Lv2FxControls.h
Go to the documentation of this file.
1/*
2 * Lv2FxControls.h - Lv2FxControls implementation
3 *
4 * Copyright (c) 2018-2023 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
5 *
6 * This file is part of LMMS - https://lmms.io
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with this program (see COPYING); if not, write to the
20 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301 USA.
22 *
23 */
24
25#ifndef LV2_FX_CONTROLS_H
26#define LV2_FX_CONTROLS_H
27
28#include "EffectControls.h"
29#include "Lv2ControlBase.h"
30
31namespace lmms
32{
33
34
35class Lv2Effect;
36
37namespace gui
38{
40}
41
42
44{
45 Q_OBJECT
46signals:
48public:
49 Lv2FxControls(Lv2Effect *effect, const QString &uri);
50 void reload();
51
52 void saveSettings(QDomDocument &_doc, QDomElement &_parent) override;
53 void loadSettings(const QDomElement &that) override;
54 inline QString nodeName() const override
55 {
57 }
58
59 int controlCount() override;
61
62private slots:
63 void changeControl();
64
65private:
67
69 friend class Lv2Effect;
70};
71
72
73} // namespace lmms
74
75#endif
Effect * effect()
Definition EffectControls.h:70
EffectControls(Effect *_eff)
Definition EffectControls.h:46
QString nodeName() const
Definition Lv2ControlBase.h:138
Lv2ControlBase(class Model *that, const QString &uri)
Definition Lv2ControlBase.cpp:53
Definition Lv2Effect.h:36
Lv2FxControls(Lv2Effect *effect, const QString &uri)
Definition Lv2FxControls.cpp:36
void saveSettings(QDomDocument &_doc, QDomElement &_parent) override
Definition Lv2FxControls.cpp:67
int controlCount() override
Definition Lv2FxControls.cpp:83
void reload()
Definition Lv2FxControls.cpp:47
void loadSettings(const QDomElement &that) override
Definition Lv2FxControls.cpp:75
QString nodeName() const override
Definition Lv2FxControls.h:54
friend class Lv2Effect
Definition Lv2FxControls.h:69
void onSampleRateChanged()
Definition Lv2FxControls.cpp:56
gui::EffectControlDialog * createView() override
Definition Lv2FxControls.cpp:91
void changeControl()
Definition Lv2FxControls.cpp:99
Definition EffectControlDialog.h:42
Definition Lv2FxControlDialog.h:40
static SordNode * uri(SordWorld *world, int num)
Definition sord_test.c:47
Definition AudioPortAudio.cpp:223
Definition AudioAlsa.cpp:35