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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user