From 7833e346180096c8e8ed538a4d870d5818696b25 Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Wed, 10 Jan 2024 14:43:46 +0000 Subject: [PATCH] Pass data file component and combobox handles to FE connector --- .../binaural_monitoring_frontend_connector.cpp | 18 ++++++++++++++++++ .../binaural_monitoring_frontend_connector.hpp | 11 ++++++++++- .../src/binaural_monitoring_plugin_editor.cpp | 4 +++- .../src/binaural_monitoring_plugin_editor.hpp | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_frontend_connector.cpp b/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_frontend_connector.cpp index 118b7e43f..6ce44cab1 100644 --- a/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_frontend_connector.cpp +++ b/ear-production-suite-plugins/plugins/binaural_monitoring/src/binaural_monitoring_frontend_connector.cpp @@ -182,6 +182,19 @@ void BinauralMonitoringJuceFrontendConnector::setOscInvertQuatZButton( setOscInvertQuatZ(cachedOscInvertQuatZ_); } +void BinauralMonitoringJuceFrontendConnector::setDataFileComponent( + std::shared_ptr comp) { + dataFileComponent_ = comp; + // TODO: Update visibility +} + +void BinauralMonitoringJuceFrontendConnector::setDataFileComboBox( + std::shared_ptr comboBox) { + comboBox->addListener(this); + dataFileComboBox_ = comboBox; + // TODO: Set entries and select +} + void BinauralMonitoringJuceFrontendConnector::setRendererStatusLabel( std::shared_ptr