ADTF Display Toolbox
Loading...
Searching...
No Matches
IMenuEventSinkabstract

Interface for handling context menu events. More...

#include <menu_intf.h>

Public Member Functions

 ADTF_IID (IMenuEventSink, "menueventsink.chewbacca.mixinlib.disptb.adtf.iid")
 Define an interface id for this class.
 
virtual tResult HandleMenuEvent (const tChar *strMenuText, tVoid *pvEventData)=0
 Handle an event related to menu.
 

Detailed Description

Interface for handling context menu events.

Definition at line 24 of file menu_intf.h.

Member Function Documentation

◆ HandleMenuEvent()

virtual tResult HandleMenuEvent ( const tChar * strMenuText,
tVoid * pvEventData )
pure virtual

Handle an event related to menu.

Called when the user selects a context menu element.

Parameters
strMenuText[in] The text of the menu element.
pvEventData[in] Additional event data (currently a bool telling whether the entry is checked or not).
Returns
Standard result.