diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/gateway/backend_gromacs.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/gateway/backend_gromacs.hpp index bff2fc63e..719bb520e 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/gateway/backend_gromacs.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/gateway/backend_gromacs.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/gateway/shared.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/gateway/shared.hpp index 2a958932b..63e2672ca 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/gateway/shared.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/gateway/shared.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form_settings_dialog.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form_settings_dialog.hpp index 79aa9e16a..2a01ef3bc 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form_settings_dialog.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/basic_form_settings_dialog.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/field_placer_gromacs.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/field_placer_gromacs.hpp index ff09d6153..d11fd30af 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/field_placer_gromacs.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/field_placer_gromacs.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_field_placer.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_field_placer.hpp index d1d97e018..819378a73 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_field_placer.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_field_placer.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_specific_field_placer.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_specific_field_placer.hpp index b0793b15e..a7466f136 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_specific_field_placer.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/md_engine_specific_field_placer.hpp differ diff --git a/lib/tool/tools/mdprep/include/tools/mdprep/ui/specific_field_placer_gromacs.hpp b/lib/tool/tools/mdprep/include/tools/mdprep/ui/specific_field_placer_gromacs.hpp index 350dfcbe9..21b8b0966 100644 Binary files a/lib/tool/tools/mdprep/include/tools/mdprep/ui/specific_field_placer_gromacs.hpp and b/lib/tool/tools/mdprep/include/tools/mdprep/ui/specific_field_placer_gromacs.hpp differ diff --git a/lib/tool/tools/mdprep/src/gateway/backend_gromacs.cpp b/lib/tool/tools/mdprep/src/gateway/backend_gromacs.cpp index 953220e1b..61f93d4f9 100644 Binary files a/lib/tool/tools/mdprep/src/gateway/backend_gromacs.cpp and b/lib/tool/tools/mdprep/src/gateway/backend_gromacs.cpp differ diff --git a/lib/tool/tools/mdprep/src/mdprep.cpp b/lib/tool/tools/mdprep/src/mdprep.cpp index ca406170c..8ea5dac75 100644 --- a/lib/tool/tools/mdprep/src/mdprep.cpp +++ b/lib/tool/tools/mdprep/src/mdprep.cpp @@ -135,7 +135,7 @@ namespace VTX::QT::Mdprep { const VTX::Tool::Mdprep::ui::EngineSpecificCommonInformation * engineSpecificData = nullptr; - _formsMd[ _mdEngineCurrentIdx ]->get( engineSpecificData ); + //_formsMd[ _mdEngineCurrentIdx ]->get( engineSpecificData ); if ( engineSpecificData ) _formBasic.update( *engineSpecificData ); } diff --git a/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp b/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp index 2de9fe5b2..72df79f99 100644 Binary files a/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp and b/lib/tool/tools/mdprep/src/ui/basic_form_settings_dialog.cpp differ diff --git a/lib/tool/tools/mdprep/src/ui/field_placer_gromacs.cpp b/lib/tool/tools/mdprep/src/ui/field_placer_gromacs.cpp index f2206e31b..c44789ceb 100644 Binary files a/lib/tool/tools/mdprep/src/ui/field_placer_gromacs.cpp and b/lib/tool/tools/mdprep/src/ui/field_placer_gromacs.cpp differ diff --git a/lib/tool/tools/mdprep/src/ui/main_window.cpp b/lib/tool/tools/mdprep/src/ui/main_window.cpp index ab95feb6d..db963b627 100644 --- a/lib/tool/tools/mdprep/src/ui/main_window.cpp +++ b/lib/tool/tools/mdprep/src/ui/main_window.cpp @@ -3,6 +3,7 @@ // #include "tools/mdprep/gateway/backend_gromacs.hpp" #include "tools/mdprep/gateway/form_data.hpp" +#include "tools/mdprep/gateway/shared.hpp" #include "tools/mdprep/ui/shared.hpp" // #include "tools/mdprep/ui/md_engine_specific_field_placer.hpp" @@ -48,9 +49,10 @@ namespace VTX::Tool::Mdprep::ui namespace { + class NoopForm { - VTX::Tool::Mdprep::ui::EngineSpecificCommonInformation _data; + Gateway::EngineSpecificCommonInformation _data; public: NoopForm() = default; @@ -58,12 +60,13 @@ namespace VTX::Tool::Mdprep::ui get( MdEngineSpecificFieldPlacer & p_ptr, const VTX::Tool::Mdprep::ui::E_FIELD_SECTION & ) noexcept { } - inline void get( const VTX::Tool::Mdprep::ui::EngineSpecificCommonInformation *& p_ptr ) const noexcept + inline void get( const Gateway::EngineSpecificCommonInformation *& p_ptr ) const noexcept { p_ptr = &_data; } - inline void activate() noexcept {} - inline void deactivate() noexcept {} + inline void activate() noexcept {} + inline void deactivate() noexcept {} + friend inline void get( const NoopForm &, Gateway::EngineSpecificCommonInformation & ) noexcept {} }; } // namespace