Rhino C++ API  8.14
Public Member Functions | List of all members
IRhRdkMenu Class Referenceabstract

#include <IRhRdkMenu.h>

Public Member Functions

virtual ~IRhRdkMenu ()
 
virtual bool AddItem (const UUID &uuidAction)=0
 
virtual bool AddItem (const wchar_t *wszCaption, unsigned short cmd, bool bEnabled)=0
 
virtual void AddSeparator (void)=0
 
virtual IRhRdkMenuAddSubMenu (const wchar_t *wszCaption)=0
 
virtual void * EVF (const wchar_t *, void *)=0
 

Detailed Description

This interface allows access to menus created or managed by the RDK. It is used by the RDK UI plug-in to get menus from the core RDK.

Constructor & Destructor Documentation

◆ ~IRhRdkMenu()

virtual IRhRdkMenu::~IRhRdkMenu ( )
inlinevirtual

Member Function Documentation

◆ AddItem() [1/2]

virtual bool IRhRdkMenu::AddItem ( const UUID &  uuidAction)
pure virtual

This method is obsolete.

◆ AddItem() [2/2]

virtual bool IRhRdkMenu::AddItem ( const wchar_t *  wszCaption,
unsigned short  cmd,
bool  bEnabled 
)
pure virtual

Add a menu item to the menu.

Parameters
wszCaptionis the menu item's caption.
cmdis the menu item's command id
bEnabledis the menu item's enable state.
Returns
true if successful, else false.

◆ AddSeparator()

virtual void IRhRdkMenu::AddSeparator ( void  )
pure virtual

Add a separator to the menu.

◆ AddSubMenu()

virtual IRhRdkMenu& IRhRdkMenu::AddSubMenu ( const wchar_t *  wszCaption)
pure virtual

Add a sub-menu to the menu.

Parameters
wszCaptionis the sub-menu's caption.
Returns
A reference to the new sub-menu.

◆ EVF()

virtual void* IRhRdkMenu::EVF ( const wchar_t *  ,
void *   
)
pure virtual

Emergency virtual function for future expansion.