summaryrefslogtreecommitdiff
path: root/src/disableproxyplugindialog.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-11-17 14:28:43 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2020-11-17 14:28:43 +0100
commit8886674379c507fe46bfc6cb2ef013537567441b (patch)
tree587603a00cafa59664a94f8f9c77d67cae04a8be /src/disableproxyplugindialog.h
parentbed3475362f68a660d56dd31546b13e49586e36e (diff)
Better dialog for warning when disabling proxy plugin.
Diffstat (limited to 'src/disableproxyplugindialog.h')
-rw-r--r--src/disableproxyplugindialog.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/disableproxyplugindialog.h b/src/disableproxyplugindialog.h
new file mode 100644
index 00000000..52f552e1
--- /dev/null
+++ b/src/disableproxyplugindialog.h
@@ -0,0 +1,43 @@
+/*
+Copyright (C) 2020 Mikaël Capelle. All rights reserved.
+
+This file is part of Mod Organizer.
+
+Mod Organizer is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+Mod Organizer is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef DISABLEPROXYPLUGINDIALOG_H
+#define DISABLEPROXYPLUGINDIALOG_H
+
+#include <QDialog>
+
+#include "ipluginproxy.h"
+
+namespace Ui { class DisableProxyPluginDialog; }
+
+class DisableProxyPluginDialog : public QDialog {
+public:
+
+ DisableProxyPluginDialog(
+ MOBase::IPlugin* proxyPlugin,
+ std::vector<MOBase::IPlugin*> const& required,
+ QWidget* parent = nullptr);
+
+private slots:
+
+ Ui::DisableProxyPluginDialog* ui;
+
+};
+
+#endif