mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Redefine the factories for track views and controls...
... non-intrusively in the Track suclasses, registering functions instead. For each abstract factory function (of two), build a table of concrete factory functions, paralleling the hierarchy of Track subclesses. Dispatch using runt time type information in the Track objects.
This commit is contained in:
@@ -222,10 +222,6 @@ public:
|
||||
int mVisibleChannels; // bit set of visible channels
|
||||
|
||||
std::weak_ptr<StretchHandle> mStretchHandle;
|
||||
|
||||
protected:
|
||||
std::shared_ptr<TrackView> DoGetView() override;
|
||||
std::shared_ptr<TrackControls> DoGetControls() override;
|
||||
};
|
||||
|
||||
/// Data used to display a note track
|
||||
|
||||
Reference in New Issue
Block a user