mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
OldStyleCommandType - It's on the way out.
This renaming makes it clearer which code is still using Dan Horgan's Command system.
This commit is contained in:
committed by
Paul Licameli
parent
2f6fc0a1e5
commit
b83b862b3f
@@ -67,7 +67,7 @@ CommandDirectory::~CommandDirectory()
|
||||
{
|
||||
}
|
||||
|
||||
CommandType *CommandDirectory::LookUp(const wxString &cmdName) const
|
||||
OldStyleCommandType *CommandDirectory::LookUp(const wxString &cmdName) const
|
||||
{
|
||||
CommandMap::const_iterator iter = mCmdMap.find(cmdName);
|
||||
if (iter == mCmdMap.end())
|
||||
@@ -77,7 +77,7 @@ CommandType *CommandDirectory::LookUp(const wxString &cmdName) const
|
||||
return iter->second.get();
|
||||
}
|
||||
|
||||
void CommandDirectory::AddCommand(movable_ptr<CommandType> &&type)
|
||||
void CommandDirectory::AddCommand(movable_ptr<OldStyleCommandType> &&type)
|
||||
{
|
||||
wxASSERT(type != NULL);
|
||||
wxString cmdName = type->GetName();
|
||||
|
Reference in New Issue
Block a user