From a382e4587f3bdc4d6fed337b326e4ba3fa74cc37 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Wed, 13 Mar 2024 13:52:47 +0100
Subject: [PATCH] rename GUI/View/Main/PyImportAssistant -> GUI/View/Loader/

---
 GUI/View/{Main => Loader}/PyImportAssistant.cpp | 4 ++--
 GUI/View/{Main => Loader}/PyImportAssistant.h   | 8 ++++----
 GUI/View/View/SampleView.cpp                    | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
 rename GUI/View/{Main => Loader}/PyImportAssistant.cpp (98%)
 rename GUI/View/{Main => Loader}/PyImportAssistant.h (81%)

diff --git a/GUI/View/Main/PyImportAssistant.cpp b/GUI/View/Loader/PyImportAssistant.cpp
similarity index 98%
rename from GUI/View/Main/PyImportAssistant.cpp
rename to GUI/View/Loader/PyImportAssistant.cpp
index 95a8ed957d0..40251f87774 100644
--- a/GUI/View/Main/PyImportAssistant.cpp
+++ b/GUI/View/Loader/PyImportAssistant.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.cpp
+//! @file      GUI/View/Loader/PyImportAssistant.cpp
 //! @brief     Implements class PyImportAssistant.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -14,7 +14,7 @@
 
 #ifdef BORNAGAIN_PYTHON
 
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Loader/PyImportAssistant.h"
 #include "BABuild.h"
 #include "Base/Util/Assert.h"
 #include "Base/Util/SysUtil.h"
diff --git a/GUI/View/Main/PyImportAssistant.h b/GUI/View/Loader/PyImportAssistant.h
similarity index 81%
rename from GUI/View/Main/PyImportAssistant.h
rename to GUI/View/Loader/PyImportAssistant.h
index a8c8c049863..d2212636ff9 100644
--- a/GUI/View/Main/PyImportAssistant.h
+++ b/GUI/View/Loader/PyImportAssistant.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.h
+//! @file      GUI/View/Loader/PyImportAssistant.h
 //! @brief     Implements class PyImportAssistant.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
-#define BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#ifndef BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
+#define BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
 
 #ifdef BORNAGAIN_PYTHON
 
@@ -32,4 +32,4 @@ SampleItem* importMultiLayer();
 
 #endif // BORNAGAIN_PYTHON
 
-#endif // BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#endif // BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
diff --git a/GUI/View/View/SampleView.cpp b/GUI/View/View/SampleView.cpp
index 5d1487c33f6..369ec777e5b 100644
--- a/GUI/View/View/SampleView.cpp
+++ b/GUI/View/View/SampleView.cpp
@@ -21,7 +21,7 @@
 #include "GUI/Model/Sample/ParticleLayoutItem.h"
 #include "GUI/Model/Sample/SamplesSet.h"
 #include "GUI/View/Base/mainwindow_constants.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Loader/PyImportAssistant.h"
 #include "GUI/View/Modelview/SetView.h"
 #include "GUI/View/Realspace/RealspacePanel.h"
 #include "GUI/View/Realspace/RealspaceWidget.h"
-- 
GitLab