[AudioSystem] Allow audio engines to provide widgets for modifying connection properties. (#6303)
Signed-off-by: Maxim Ivanov <imginimg@gmail.com>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
#include <ACETypes.h>
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace AudioControls
|
||||
{
|
||||
class IAudioSystemEditor;
|
||||
@@ -150,6 +152,12 @@ namespace AudioControls
|
||||
|
||||
//! Informs the plugin that the ACE has saved the data in case it needs to do any clean up.
|
||||
virtual void DataSaved() = 0;
|
||||
|
||||
//! Creates a widget for modifying connection properties.
|
||||
//! The widget must have a "PropertiesChanged()" signal.
|
||||
//! The widget ownership transferred to the caller.
|
||||
virtual QWidget* CreateConnectionPropertiesWidget([[maybe_unused]] const TConnectionPtr connection,
|
||||
[[maybe_unused]] EACEControlType atlControlType) { return nullptr; }
|
||||
};
|
||||
|
||||
} // namespace AudioControls
|
||||
|
||||
Reference in New Issue
Block a user