mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-27 07:40:10 +01:00
CommandManager, MenuManager don't use Lyrics.h, MixerBoard.h ...
... instead define new base classes in src/commands that those other windows can inherit. The classes have nothing but a virtual destructor. This lets CommandManager use dynamic_cast to detect the special windows. See commitscbfde23and68e4bf6which added the #include directives
This commit is contained in:
@@ -778,6 +778,7 @@
|
||||
<ClInclude Include="..\..\..\src\commands\CommandDirectory.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandHandler.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandManager.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandManagerWindowClasses.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandMisc.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandSignature.h" />
|
||||
<ClInclude Include="..\..\..\src\commands\CommandTargets.h" />
|
||||
|
||||
@@ -1723,6 +1723,9 @@
|
||||
<ClInclude Include="..\..\..\src\commands\CommandManager.h">
|
||||
<Filter>src\commands</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\commands\CommandManagerWindowClasses.h">
|
||||
<Filter>src\commands</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\src\commands\CommandMisc.h">
|
||||
<Filter>src\commands</Filter>
|
||||
</ClInclude>
|
||||
|
||||
Reference in New Issue
Block a user