openshot-audio  0.1.7
Public Member Functions | List of all members
juce::ApplicationCommandManagerListener Class Referenceabstract

#include <juce_gui_basics.h>

Inheritance diagram for juce::ApplicationCommandManagerListener:
juce::Button::CallbackHelper juce::MenuBarModel

Public Member Functions

virtual ~ApplicationCommandManagerListener ()
 
virtual void applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo &)=0
 
virtual void applicationCommandListChanged ()=0
 

Detailed Description

A listener that receives callbacks from an ApplicationCommandManager when commands are invoked or the command list is changed.

See also
ApplicationCommandManager::addListener, ApplicationCommandManager::removeListener

Constructor & Destructor Documentation

◆ ~ApplicationCommandManagerListener()

virtual juce::ApplicationCommandManagerListener::~ApplicationCommandManagerListener ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ applicationCommandInvoked()

virtual void juce::ApplicationCommandManagerListener::applicationCommandInvoked ( const ApplicationCommandTarget::InvocationInfo )
pure virtual

Called when an app command is about to be invoked.

Implemented in juce::MenuBarModel, and juce::Button::CallbackHelper.

◆ applicationCommandListChanged()

virtual void juce::ApplicationCommandManagerListener::applicationCommandListChanged ( )
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::MenuBarModel, and juce::Button::CallbackHelper.


The documentation for this class was generated from the following file: