drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
configurationdialogs.h
Go to the documentation of this file.
1/*
2 Drumstick MIDI Sequencer C++ library
3 Copyright (C) 2006-2023, Pedro Lopez-Cabanillas <plcl@users.sf.net>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef CONFIGURATIONDIALOGS_H
20#define CONFIGURATIONDIALOGS_H
21
22#include <QString>
23#include <QWidget>
24#include "macros.h"
25
31#if defined(DRUMSTICK_STATIC)
32#define DRUMSTICK_WIDGETS_EXPORT
33#else
34#if defined(drumstick_widgets_EXPORTS)
35#define DRUMSTICK_WIDGETS_EXPORT Q_DECL_EXPORT
36#else
37#define DRUMSTICK_WIDGETS_EXPORT Q_DECL_IMPORT
38#endif
39#endif
40
41namespace drumstick {
42
48namespace widgets {
49
50bool DRUMSTICK_WIDGETS_EXPORT inputDriverIsConfigurable(const QString driver);
51bool DRUMSTICK_WIDGETS_EXPORT outputDriverIsConfigurable(const QString driver);
52bool DRUMSTICK_WIDGETS_EXPORT configureInputDriver(const QString driver, QWidget *parent = nullptr);
53bool DRUMSTICK_WIDGETS_EXPORT configureOutputDriver(const QString driver, QWidget *parent = nullptr);
54void DRUMSTICK_WIDGETS_EXPORT changeSoundFont(const QString driver,
55 const QString fileName,
56 QWidget *parent = nullptr);
57QString DRUMSTICK_WIDGETS_EXPORT libraryVersion();
58}} // namespace drumstick::widgets
59
60#endif // CONFIGURATIONDIALOGS_H
bool DRUMSTICK_WIDGETS_EXPORT inputDriverIsConfigurable(const QString driver)
inputDriverIsConfigurable
QString DRUMSTICK_WIDGETS_EXPORT libraryVersion()
libraryVersion returns the runtime library version as a QString
bool DRUMSTICK_WIDGETS_EXPORT outputDriverIsConfigurable(const QString driver)
outputDriverIsConfigurable
bool DRUMSTICK_WIDGETS_EXPORT configureInputDriver(const QString driver, QWidget *parent=nullptr)
Input Driver configuration dialog Some RT input drivers can be configured.
void DRUMSTICK_WIDGETS_EXPORT changeSoundFont(const QString driver, const QString fileName, QWidget *parent=nullptr)
Changes the sound font configuration Some RT output drivers accept soundfonts.
bool DRUMSTICK_WIDGETS_EXPORT configureOutputDriver(const QString driver, QWidget *parent=nullptr)
Output Driver configuration dialog Some RT output drivers can be configured.
Drumstick common.
Definition: alsaclient.cpp:68