LMMS
Loading...
Searching...
No Matches
AudioDeviceSetupWidget.h
Go to the documentation of this file.
1/*
2 * AudioDeviceSetupWidget.h - Base class for audio device setup widgets
3 *
4 * Copyright (c) 2004-2015 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5 * Copyright (c) 2023- Michael Gregorius
6 *
7 * This file is part of LMMS - https://lmms.io
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this program (see COPYING); if not, write to the
21 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301 USA.
23 *
24 */
25
26#ifndef LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H
27#define LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H
28
29#include <QGroupBox>
30
31namespace lmms::gui
32{
33
34class AudioDeviceSetupWidget : public QGroupBox
35{
36 Q_OBJECT
37public:
38 AudioDeviceSetupWidget( const QString & _caption, QWidget * _parent );
39
40 ~AudioDeviceSetupWidget() override = default;
41
42 virtual void saveSettings() = 0;
43
44 virtual void show();
45};
46
47} // namespace lmms::gui
48
49#endif // LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H
virtual void show()
Definition AudioDeviceSetupWidget.cpp:35
AudioDeviceSetupWidget(const QString &_caption, QWidget *_parent)
Definition AudioDeviceSetupWidget.cpp:30
~AudioDeviceSetupWidget() override=default
Definition AudioPortAudio.cpp:223