mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Removed const-ness from some return types to take advantage of future c++0x advantages.
This commit is contained in:
parent
74469aaa83
commit
0853a9b686
154 changed files with 472 additions and 473 deletions
|
|
@ -139,14 +139,14 @@ const ApplicationCommandInfo* ApplicationCommandManager::getCommandForID (const
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
const String ApplicationCommandManager::getNameOfCommand (const CommandID commandID) const noexcept
|
||||
String ApplicationCommandManager::getNameOfCommand (const CommandID commandID) const noexcept
|
||||
{
|
||||
const ApplicationCommandInfo* const ci = getCommandForID (commandID);
|
||||
|
||||
return ci != nullptr ? ci->shortName : String::empty;
|
||||
}
|
||||
|
||||
const String ApplicationCommandManager::getDescriptionOfCommand (const CommandID commandID) const noexcept
|
||||
String ApplicationCommandManager::getDescriptionOfCommand (const CommandID commandID) const noexcept
|
||||
{
|
||||
const ApplicationCommandInfo* const ci = getCommandForID (commandID);
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ StringArray ApplicationCommandManager::getCommandCategories() const
|
|||
return s;
|
||||
}
|
||||
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const
|
||||
Array<CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const
|
||||
{
|
||||
Array <CommandID> results;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue