mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Track::GetKind is private
This commit is contained in:
parent
b5f52e7c1c
commit
b36c3efec1
@ -235,10 +235,10 @@ class AUDACITY_DLL_API NoteTrack final
|
||||
mVisibleChannels = CHANNEL_BIT(c);
|
||||
}
|
||||
|
||||
TrackKind GetKind() const override { return TrackKind::Note; }
|
||||
|
||||
private:
|
||||
|
||||
TrackKind GetKind() const override { return TrackKind::Note; }
|
||||
|
||||
void AddToDuration( double delta );
|
||||
|
||||
// These are mutable to allow NoteTrack to switch details of representation
|
||||
|
@ -411,10 +411,9 @@ public:
|
||||
// May assume precondition: t0 <= t1
|
||||
virtual void InsertSilence(double WXUNUSED(t), double WXUNUSED(len)) = 0;
|
||||
|
||||
// to do: privatize this
|
||||
private:
|
||||
virtual TrackKind GetKind() const { return TrackKind::None; }
|
||||
|
||||
private:
|
||||
template<typename T>
|
||||
friend typename std::enable_if< std::is_pointer<T>::value, T >::type
|
||||
track_cast(Track *track);
|
||||
|
@ -640,12 +640,10 @@ private:
|
||||
// Protected methods
|
||||
//
|
||||
|
||||
public:
|
||||
// to do: privatize this
|
||||
TrackKind GetKind() const override { return TrackKind::Wave; }
|
||||
|
||||
private:
|
||||
|
||||
TrackKind GetKind() const override { return TrackKind::Wave; }
|
||||
|
||||
//
|
||||
// Private variables
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user