mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Minor code clean-ups.
This commit is contained in:
parent
b161c0f437
commit
cac473bb1e
8 changed files with 27 additions and 27 deletions
|
|
@ -154,7 +154,7 @@ const String ApplicationCommandManager::getDescriptionOfCommand (const CommandID
|
|||
: String::empty;
|
||||
}
|
||||
|
||||
const StringArray ApplicationCommandManager::getCommandCategories() const throw()
|
||||
const StringArray ApplicationCommandManager::getCommandCategories() const
|
||||
{
|
||||
StringArray s;
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ const StringArray ApplicationCommandManager::getCommandCategories() const throw(
|
|||
return s;
|
||||
}
|
||||
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const throw()
|
||||
const Array <CommandID> ApplicationCommandManager::getCommandsInCategory (const String& categoryName) const
|
||||
{
|
||||
Array <CommandID> results;
|
||||
|
||||
|
|
@ -303,12 +303,12 @@ ApplicationCommandTarget* ApplicationCommandManager::findDefaultComponentTarget(
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
void ApplicationCommandManager::addListener (ApplicationCommandManagerListener* const listener) throw()
|
||||
void ApplicationCommandManager::addListener (ApplicationCommandManagerListener* const listener)
|
||||
{
|
||||
listeners.add (listener);
|
||||
}
|
||||
|
||||
void ApplicationCommandManager::removeListener (ApplicationCommandManagerListener* const listener) throw()
|
||||
void ApplicationCommandManager::removeListener (ApplicationCommandManagerListener* const listener)
|
||||
{
|
||||
listeners.remove (listener);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue