MenuEntry Struct Reference

#include <database.h>

Detailed Description

A MenuEntry defines an element of a GUI menu structure. It represents either an action (Command) or a sub-menu. The structure is returned by SDKDatabaseInterface::GetMenuStructure().

Public Member Functions

 MenuEntry ()
 
 MenuEntry (const MenuEntry &menu)
 

Public Attributes

Bool _isMenu
 
String _name
 
String _actionID
 
BaseArray< MenuEntry_submenu
 

Constructor & Destructor Documentation

◆ MenuEntry() [1/2]

MenuEntry ( )

◆ MenuEntry() [2/2]

MenuEntry ( const MenuEntry menu)

Member Data Documentation

◆ _isMenu

Bool _isMenu

true if menu, False if action.

◆ _name

String _name

Name of the menu entry. Either menu or action name.

◆ _actionID

String _actionID

ID of the action this entry represents. Must not be set if _isMenu is true.

◆ _submenu

BaseArray<MenuEntry> _submenu

Array of sub-menu entries. Must be filled if_isMenu is true.