1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 01:19:24 +02:00
audacity/src/tracks/ui/TrackControls.h
2019-06-24 12:41:25 -04:00

43 lines
890 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
TrackControls.h
Paul Licameli split from TrackPanel.cpp
**********************************************************************/
#ifndef __AUDACITY_TRACK_CONTROLS__
#define __AUDACITY_TRACK_CONTROLS__
#include "CommonTrackPanelCell.h"
class Track;
class TrackControls /* not final */ : public CommonTrackCell
, public std::enable_shared_from_this< TrackControls >
{
public:
static TrackControls &Get( Track &track );
static const TrackControls &Get( const Track &track );
explicit
TrackControls( std::shared_ptr<Track> pTrack );
virtual ~TrackControls() = 0;
};
#include "../../AttachedVirtualFunction.h"
struct DoGetControlsTag;
using DoGetControls =
AttachedVirtualFunction<
DoGetControlsTag,
std::shared_ptr< TrackControls >,
Track
>;
#endif