Audacity 3.2.0
LV2PreferencesDialog.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file LV2PreferencesDialog.h
6 @brief UI to change persistent settings that can apply to any LV2 effect
7
8 Paul Licameli split from LV2Preferences.h
9
10 Audacity(R) is copyright (c) 1999-2008 Audacity Team.
11 License: GPL v2 or later. See License.txt.
12
13**********************************************************************/
14
15#ifndef __AUDACITY_LV2_PREFERENCES_DIALOG__
16#define __AUDACITY_LV2_PREFERENCES_DIALOG__
17
18#if defined(USE_LV2)
19
20#if defined(__GNUC__)
21#pragma GCC diagnostic ignored "-Wparentheses"
22#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
23#elif defined(__clang__)
24#pragma clang diagnostic ignored "-Wparentheses"
25#pragma clang diagnostic ignored "-Wdeprecated-declarations"
26#endif
27
28#include "wxPanelWrapper.h"
29
31class ShuttleGui;
32
33
35{
36public:
37 explicit LV2PreferencesDialog(const EffectDefinitionInterface &effect);
39
41
42 void OnOk(wxCommandEvent &evt);
43
44private:
48 bool mUseGUI{};
49
50 DECLARE_EVENT_TABLE()
51};
52
53#endif
54#endif
#define S(N)
Definition: ToChars.cpp:64
EffectDefinitionInterface is a ComponentInterface that adds some basic read-only information about ef...
const EffectDefinitionInterface & mEffect
virtual ~LV2PreferencesDialog()
LV2PreferencesDialog(const EffectDefinitionInterface &effect)
void PopulateOrExchange(ShuttleGui &S)
void OnOk(wxCommandEvent &evt)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640