mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed). The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
SpectralSelectionBarListener.h
|
|
|
|
Paul Licameli
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_SPECTRAL_SELECTION_BAR_LISTENER__
|
|
#define __AUDACITY_SPECTRAL_SELECTION_BAR_LISTENER__
|
|
|
|
#include "../Audacity.h"
|
|
|
|
class ComponentInterfaceSymbol;
|
|
using NumericFormatId = ComponentInterfaceSymbol;
|
|
|
|
class AUDACITY_DLL_API SpectralSelectionBarListener /* not final */ {
|
|
|
|
public:
|
|
|
|
SpectralSelectionBarListener(){}
|
|
virtual ~SpectralSelectionBarListener(){}
|
|
|
|
virtual double SSBL_GetRate() const = 0;
|
|
|
|
virtual const NumericFormatId & SSBL_GetFrequencySelectionFormatName() = 0;
|
|
virtual void SSBL_SetFrequencySelectionFormatName(const NumericFormatId & formatName) = 0;
|
|
|
|
virtual const NumericFormatId & SSBL_GetBandwidthSelectionFormatName() = 0;
|
|
virtual void SSBL_SetBandwidthSelectionFormatName(const NumericFormatId & formatName) = 0;
|
|
|
|
virtual void SSBL_ModifySpectralSelection(double &bottom, double &top, bool done) = 0;
|
|
};
|
|
|
|
#endif
|