3 * Copyright (C) 2011-2022 Filipe Coelho <falktx@falktx.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
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.
15 * For a full copy of the GNU General Public License see the doc/GPL.txt file.
21 # pragma clang diagnostic push
22 # pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
23 # pragma clang diagnostic ignored "-Wdeprecated-register"
24 #elif defined(__GNUC__) && __GNUC__ >= 8
25 # pragma GCC diagnostic push
26 # pragma GCC diagnostic ignored "-Wclass-memaccess"
27 # pragma GCC diagnostic ignored "-Wdeprecated-copy"
30 #include <QtWidgets/QDialog>
33 # pragma clang diagnostic pop
34 #elif defined(__GNUC__) && __GNUC__ >= 8
35 # pragma GCC diagnostic pop
38 #include "qcarlastring.hpp"
40 // --------------------------------------------------------------------------------------------------------------------
41 // Jack Application Dialog
43 class JackAppDialog
: public QDialog
48 // ----------------------------------------------------------------------------------------------------------------
51 explicit JackAppDialog(QWidget
* parent
, const char* projectFilename
);
52 ~JackAppDialog() override
;
54 // ----------------------------------------------------------------------------------------------------------------
57 struct CommandAndFlags
{
62 CommandAndFlags
getCommandAndFlags() const;
64 // ----------------------------------------------------------------------------------------------------------------
68 void checkIfButtonBoxShouldBeEnabled(int index
, const QCarlaString
& text
);
71 // ----------------------------------------------------------------------------------------------------------------
75 void slot_commandChanged(const QString
& command
);
76 void slot_sessionManagerChanged(int);
77 void slot_saveSettings();
80 // --------------------------------------------------------------------------------------------------------------------