Audacity 3.2.0
SelectionBarListener.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 SelectionBarListener.h
6
7 Dominic Mazzoni
8
9**********************************************************************/
10
11#ifndef __AUDACITY_SELECTION_BAR_LISTENER__
12#define __AUDACITY_SELECTION_BAR_LISTENER__
13
14#include "audacity/Types.h"
16
17class SelectedRegion;
18
19class AUDACITY_DLL_API SelectionBarListener /* not final */ {
20
21 public:
22
25
27 virtual void AS_SetSelectionFormat(const NumericFormatID & format) = 0;
28 virtual void AS_ModifySelection(double &start, double &end, bool done) = 0;
29};
30
31class AUDACITY_DLL_API TimeToolBarListener /* not final */ {
32
33 public:
34
37
39 virtual void TT_SetAudioTimeFormat(const NumericFormatID & format) = 0;
40};
41
42#endif
Defines a selected portion of a project.
virtual NumericFormatID AS_GetSelectionFormat()=0
virtual void AS_ModifySelection(double &start, double &end, bool done)=0
virtual void AS_SetSelectionFormat(const NumericFormatID &format)=0
virtual NumericFormatID TT_GetAudioTimeFormat()=0
virtual void TT_SetAudioTimeFormat(const NumericFormatID &format)=0
auto end(const Ptr< Type, BaseDeleter > &p)
Enables range-for.
Definition: PackedArray.h:159