Pepper_31_C_interfaces
|
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_stdint.h"
Go to the source code of this file.
Classes | |
struct | PP_Ext_EventListener |
struct | PPB_Ext_Events_Dev_0_1 |
Macros | |
#define | PPB_EXT_EVENTS_DEV_INTERFACE_0_1 "PPB_Ext_Events(Dev);0.1" |
#define | PPB_EXT_EVENTS_DEV_INTERFACE PPB_EXT_EVENTS_DEV_INTERFACE_0_1 |
Typedefs | |
typedef void(* | PP_Ext_GenericFuncType )(void) |
typedef struct PPB_Ext_Events_Dev_0_1 | PPB_Ext_Events_Dev |
Functions | |
PP_INLINE struct PP_Ext_EventListener | PP_Ext_MakeEventListener (const char *event_name, PP_Ext_GenericFuncType func, void *user_data) |
#define PPB_EXT_EVENTS_DEV_INTERFACE PPB_EXT_EVENTS_DEV_INTERFACE_0_1 |
Definition at line 18 of file ppb_ext_events_dev.h.
#define PPB_EXT_EVENTS_DEV_INTERFACE_0_1 "PPB_Ext_Events(Dev);0.1" |
Definition at line 17 of file ppb_ext_events_dev.h.
PP_INLINE struct PP_Ext_EventListener PP_Ext_MakeEventListener | ( | const char * | event_name, |
PP_Ext_GenericFuncType | func, | ||
void * | user_data | ||
) |
Creates a PP_Ext_EventListener
struct.
Usually you should not call it directly. Instead you should call those functions that return a PP_Ext_EventListener
struct for a specific event type, for example, PP_Ext_Alarms_OnAlarm_Dev()
.
Definition at line 109 of file ppb_ext_events_dev.h.
References PP_Ext_EventListener::event_name, PP_Ext_EventListener::func, and PP_Ext_EventListener::user_data.
Referenced by PP_Ext_Alarms_OnAlarm_Dev_0_1().