Pepper_31_C_interfaces
|
#include <ppb_ext_events_dev.h>
Public Attributes | |
const char * | event_name |
PP_Ext_GenericFuncType | func |
void * | user_data |
An event listener that can be registered with the browser and receive notifications via the callback function.
A function is defined for each event type to return a properly-filled PP_Ext_EventListener
struct, for example, PP_Ext_Alarms_OnAlarm_Dev()
.
Definition at line 51 of file ppb_ext_events_dev.h.
const char* PP_Ext_EventListener::event_name |
The name of the event to register to.
Definition at line 55 of file ppb_ext_events_dev.h.
Referenced by PP_Ext_MakeEventListener().
PP_Ext_GenericFuncType PP_Ext_EventListener::func |
A callback function whose signature is determined by event_name
. All calls will happen on the same thread as the one on which AddListener()
is called.
Definition at line 61 of file ppb_ext_events_dev.h.
Referenced by PP_Ext_Alarms_OnAlarm_Dev_0_1(), and PP_Ext_MakeEventListener().
void* PP_Ext_EventListener::user_data |
An opaque pointer that will be passed to func
.
Definition at line 65 of file ppb_ext_events_dev.h.
Referenced by PP_Ext_Alarms_OnAlarm_Dev_0_1(), and PP_Ext_MakeEventListener().