1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

static SelectionState::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-01-22 12:06:46 -05:00
parent c1c0030013
commit 68e25f3b7d
10 changed files with 39 additions and 15 deletions

View File

@@ -9,16 +9,22 @@
#ifndef __AUDACITY_SELECTION_STATE__
#define __AUDACITY_SELECTION_STATE__
class AudacityProject;
class Track;
class TrackList;
class ViewInfo;
#include "ClientData.h"
#include "MemoryX.h"
#include <vector>
// State relating to the set of selected tracks
class SelectionState
class SelectionState final
: public ClientData::Base
{
public:
static SelectionState &Get( AudacityProject &project );
static const SelectionState &Get( const AudacityProject &project );
static void SelectTrackLength
( ViewInfo &viewInfo, Track &track, bool syncLocked );