|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A listener that receives callbacks from an ApplicationCommandManager when commands are invoked or the command list is changed. More...
#include "juce_ApplicationCommandManager.h"
Public Member Functions | |
| virtual | ~ApplicationCommandManagerListener ()=default |
| Destructor. | |
| virtual void | applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo &)=0 |
| Called when an app command is about to be invoked. | |
| virtual void | applicationCommandListChanged ()=0 |
| Called when commands are registered or deregistered from the command manager, or when commands are made active or inactive. | |
A listener that receives callbacks from an ApplicationCommandManager when commands are invoked or the command list is changed.
@tags{GUI}
Definition at line 329 of file juce_ApplicationCommandManager.h.
|
pure virtual |
Called when an app command is about to be invoked.
Implemented in juce::MenuBarModel, and juce::Button::CallbackHelper.
|
pure virtual |
Called when commands are registered or deregistered from the command manager, or when commands are made active or inactive.
Note that if you're using this to watch for changes to whether a command is disabled, you'll need to make sure that ApplicationCommandManager::commandStatusChanged() is called whenever the status of your command might have changed.
Implemented in juce::Button::CallbackHelper, and juce::MenuBarModel.