aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 5994f44..4a0c87d 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -34,17 +34,20 @@
#include "navigation/navigationbutton.h"
+#include <memory>
+
namespace Ui {
class MainWindow;
}
+class Configuration;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
- MainWindow(QWidget *parent = nullptr);
- ~MainWindow();
+ MainWindow(std::shared_ptr<Configuration> config, QWidget *parent = nullptr);
+ ~MainWindow() override;
void addTabbedDock(Qt::DockWidgetArea area, QWidget *widget);
@@ -80,6 +83,7 @@ private:
LoadingBar *m_progressBar;
bool m_tabBarAdded = false;
+ std::shared_ptr<Configuration> m_config;
};
#endif // MAINWINDOW_H