mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-29 16:08:46 +01:00
Track::GetLink and GetLinked are private, but SetLinked isn't yet
This commit is contained in:
21
src/Track.h
21
src/Track.h
@@ -315,13 +315,24 @@ public:
|
||||
void SetMinimized(bool isMinimized);
|
||||
protected:
|
||||
virtual void DoSetMinimized(bool isMinimized);
|
||||
public:
|
||||
|
||||
Track *GetLink() const;
|
||||
public:
|
||||
static void FinishCopy (const Track *n, Track *dest);
|
||||
|
||||
// For use when loading a file. Return true if ok, else make repair
|
||||
bool LinkConsistencyCheck();
|
||||
|
||||
private:
|
||||
std::shared_ptr<TrackList> GetOwner() const { return mList.lock(); }
|
||||
|
||||
Track *GetLink() const;
|
||||
bool GetLinked () const { return mLinked; }
|
||||
public:
|
||||
void SetLinked (bool l);
|
||||
private:
|
||||
// No need yet to make this virtual
|
||||
void DoSetLinked(bool l);
|
||||
|
||||
TrackNodePointer GetNode() const;
|
||||
void SetOwner
|
||||
(const std::weak_ptr<TrackList> &list, TrackNodePointer node);
|
||||
@@ -358,13 +369,9 @@ private:
|
||||
void SetDefaultName( const wxString &n ) { mDefaultName = n; }
|
||||
|
||||
bool GetSelected() const { return mSelected; }
|
||||
|
||||
virtual void SetSelected(bool s);
|
||||
|
||||
bool GetLinked () const { return mLinked; }
|
||||
void SetLinked (bool l);
|
||||
private:
|
||||
// No need yet to make this virtual
|
||||
void DoSetLinked(bool l);
|
||||
public:
|
||||
|
||||
virtual ChannelType GetChannel() const { return mChannel;}
|
||||
|
||||
Reference in New Issue
Block a user