mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
StudioSetupWidget: Move definition of EffectIntrospection into the cpp file
Nothing in the header file requires the complete definition, so we can use a forward declaration and move the type into the cpp file.
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
|
||||
#include "EditorWidget.hpp"
|
||||
|
||||
class EffectListing;
|
||||
|
||||
namespace amuse {
|
||||
class EffectBaseTypeless;
|
||||
class Studio;
|
||||
@@ -27,26 +25,9 @@ class Submix;
|
||||
enum class EffectType;
|
||||
} // namespace amuse
|
||||
|
||||
struct EffectIntrospection {
|
||||
struct Field {
|
||||
enum class Type {
|
||||
Invalid,
|
||||
UInt32,
|
||||
UInt32x8,
|
||||
Float,
|
||||
};
|
||||
class EffectListing;
|
||||
|
||||
Type m_tp{};
|
||||
std::string_view m_name;
|
||||
float m_min{};
|
||||
float m_max{};
|
||||
float m_default{};
|
||||
};
|
||||
amuse::EffectType m_tp;
|
||||
std::string_view m_name;
|
||||
std::string_view m_description;
|
||||
std::array<Field, 7> m_fields;
|
||||
};
|
||||
struct EffectIntrospection;
|
||||
|
||||
class Uint32X8Popup : public QFrame {
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user