1 /* 2 Drumstick MIDI Sequencer C++ library 3 Copyright (C) 2006-2021, 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 26 /** 27 * @file configurationdialogs.h 28 * Functions providing configuration dialogs 29 */ 30 31 namespace drumstick { 32 33 /** 34 * @ingroup Widgets 35 * @brief Drumstick Widgets library 36 * MIDI related widgets and functions. 37 */ 38 namespace widgets { 39 40 bool DRUMSTICK_EXPORT inputDriverIsConfigurable(const QString driver); 41 bool DRUMSTICK_EXPORT outputDriverIsConfigurable(const QString driver); 42 bool DRUMSTICK_EXPORT configureInputDriver(const QString driver, QWidget* parent = nullptr); 43 bool DRUMSTICK_EXPORT configureOutputDriver(const QString driver, QWidget* parent = nullptr); 44 void DRUMSTICK_EXPORT changeSoundFont(const QString driver, const QString fileName, QWidget* parent = nullptr); 45 QString DRUMSTICK_EXPORT libraryVersion(); 46 47 }} // namespace drumstick::widgets 48 49 #endif // CONFIGURATIONDIALOGS_H 50