mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Registration of toolbar factory functions...
... reduces direct dependencies of ToolManager.cpp. This frees four files from cycles: DeviceToolBar EditToolBar MeterToolBar MixerToolBar Leaving 66 files still in the big s.c.c.
This commit is contained in:
@@ -1572,3 +1572,7 @@ TransportTracks GetAllPlaybackTracks(TrackList &trackList, bool selectedOnly, bo
|
||||
#endif
|
||||
return result;
|
||||
}
|
||||
|
||||
static RegisteredToolbarFactory factory{ TransportBarID,
|
||||
[](AudacityProject*){ return ToolBar::Holder{ safenew ControlToolBar }; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user