mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-28 14:39:28 +02:00
... Should have no effect on generated code, except perhaps some slight faster virtual function calls. Mostly useful as documentation of design intent. Tried to mark every one of our classes that inherits from another, or is a base for others, or has abstract virtual functions, and a few others besides.
33 lines
855 B
C++
33 lines
855 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
SelectionBarListener.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_SELECTION_BAR_LISTENER__
|
|
#define __AUDACITY_SELECTION_BAR_LISTENER__
|
|
|
|
class SelectedRegion;
|
|
|
|
class AUDACITY_DLL_API SelectionBarListener /* not final */ {
|
|
|
|
public:
|
|
|
|
SelectionBarListener(){};
|
|
virtual ~SelectionBarListener(){};
|
|
|
|
virtual double AS_GetRate() = 0;
|
|
virtual void AS_SetRate(double rate) = 0;
|
|
virtual int AS_GetSnapTo() = 0;
|
|
virtual void AS_SetSnapTo(int snap) = 0;
|
|
virtual const wxString & AS_GetSelectionFormat() = 0;
|
|
virtual void AS_SetSelectionFormat(const wxString & format) = 0;
|
|
virtual void AS_ModifySelection(double &start, double &end, bool done) = 0;
|
|
};
|
|
|
|
#endif
|