From 9399264eb4fe729254ae64812f83740d35b31439 Mon Sep 17 00:00:00 2001
From: Joachim Wuttke <j.wuttke@fz-juelich.de>
Date: Sat, 20 Jul 2024 17:10:52 +0200
Subject: [PATCH] include from h to cpp files

---
 GUI/Model/FromCore/ItemizeSample.cpp    | 1 +
 GUI/Model/Sample/CompoundItem.cpp       | 1 +
 GUI/Model/Sample/CompoundItem.h         | 2 +-
 GUI/Model/Sample/MesocrystalItem.cpp    | 1 +
 GUI/Model/ToCore/SampleToCore.cpp       | 1 +
 GUI/View/Realspace/RealspaceBuilder.cpp | 1 +
 6 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/GUI/Model/FromCore/ItemizeSample.cpp b/GUI/Model/FromCore/ItemizeSample.cpp
index c513c8ad20e..dcfb0b55523 100644
--- a/GUI/Model/FromCore/ItemizeSample.cpp
+++ b/GUI/Model/FromCore/ItemizeSample.cpp
@@ -30,6 +30,7 @@
 #include "Sample/Interface/LayerRoughness.h"
 #include "Sample/Multilayer/Layer.h"
 #include "Sample/Multilayer/MultiLayer.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Crystal.h"
 #include "Sample/Particle/Mesocrystal.h"
diff --git a/GUI/Model/Sample/CompoundItem.cpp b/GUI/Model/Sample/CompoundItem.cpp
index 28f22dc9b53..da27f3f98fe 100644
--- a/GUI/Model/Sample/CompoundItem.cpp
+++ b/GUI/Model/Sample/CompoundItem.cpp
@@ -20,6 +20,7 @@
 #include "GUI/Model/Sample/MesocrystalItem.h"
 #include "GUI/Model/Sample/ParticleItem.h"
 #include "GUI/Model/Sample/ParticlesCatalog.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"
diff --git a/GUI/Model/Sample/CompoundItem.h b/GUI/Model/Sample/CompoundItem.h
index 1d3ef63e09a..a14edcff50c 100644
--- a/GUI/Model/Sample/CompoundItem.h
+++ b/GUI/Model/Sample/CompoundItem.h
@@ -17,9 +17,9 @@
 
 #include "Base/Type/OwningVector.h"
 #include "GUI/Model/Sample/ItemWithParticles.h"
-#include "Sample/Particle/Compound.h"
 #include <memory>
 
+class Compound;
 class MaterialsSet;
 
 class CompoundItem : public ItemWithParticles {
diff --git a/GUI/Model/Sample/MesocrystalItem.cpp b/GUI/Model/Sample/MesocrystalItem.cpp
index 25eb86580f0..6d830f45eec 100644
--- a/GUI/Model/Sample/MesocrystalItem.cpp
+++ b/GUI/Model/Sample/MesocrystalItem.cpp
@@ -17,6 +17,7 @@
 #include "GUI/Model/Sample/CompoundItem.h"
 #include "GUI/Model/Sample/CoreAndShellItem.h"
 #include "GUI/Model/Sample/ParticleItem.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Crystal.h"
 #include "Sample/Particle/IFormFactor.h"
diff --git a/GUI/Model/ToCore/SampleToCore.cpp b/GUI/Model/ToCore/SampleToCore.cpp
index 0b2732036bb..04e4cb6b746 100644
--- a/GUI/Model/ToCore/SampleToCore.cpp
+++ b/GUI/Model/ToCore/SampleToCore.cpp
@@ -33,6 +33,7 @@
 #include "Sample/Particle/IParticle.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"
+#include "Sample/Particle/Compound.h"
 
 namespace {
 
diff --git a/GUI/View/Realspace/RealspaceBuilder.cpp b/GUI/View/Realspace/RealspaceBuilder.cpp
index b0781300c50..230d5c710bd 100644
--- a/GUI/View/Realspace/RealspaceBuilder.cpp
+++ b/GUI/View/Realspace/RealspaceBuilder.cpp
@@ -30,6 +30,7 @@
 #include "Img3D/Model/ParticleFromFF.h"
 #include "Img3D/Type/SceneGeometry.h"
 #include "Sample/Aggregate/Interferences.h"
+#include "Sample/Particle/Compound.h"
 #include "Sample/Particle/CoreAndShell.h"
 #include "Sample/Particle/Mesocrystal.h"
 #include "Sample/Particle/Particle.h"
-- 
GitLab