A class to receive callbacks when a MenuBarModel changes. More...
Inherited by MenuBarComponent [private].
Public Member Functions | |
| virtual | ~Listener () |
| Destructor. | |
| virtual void | menuBarItemsChanged (MenuBarModel *menuBarModel)=0 |
| This callback is made when items are changed in the menu bar model. | |
| virtual void | menuCommandInvoked (MenuBarModel *menuBarModel, const ApplicationCommandTarget::InvocationInfo &info)=0 |
| This callback is made when an application command is invoked that is represented by one of the items in the menu bar model. | |
A class to receive callbacks when a MenuBarModel changes.
| virtual MenuBarModel::Listener::~Listener | ( | ) | [virtual] |
Destructor.
| virtual void MenuBarModel::Listener::menuBarItemsChanged | ( | MenuBarModel * | menuBarModel | ) | [pure virtual] |
This callback is made when items are changed in the menu bar model.
Implemented in MenuBarComponent.
| virtual void MenuBarModel::Listener::menuCommandInvoked | ( | MenuBarModel * | menuBarModel, |
| const ApplicationCommandTarget::InvocationInfo & | info | ||
| ) | [pure virtual] |
This callback is made when an application command is invoked that is represented by one of the items in the menu bar model.
Implemented in MenuBarComponent.