Pepper_47_C++_interfaces
|
#include "ppapi/c/ppb.h"
#include "ppapi/c/ppp.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/module_embedder.h"
Go to the source code of this file.
Namespaces | |
pp | |
The C++ interface to the Pepper API. | |
Functions | |
void | pp::SetBrokerGetInterfaceFunc (PP_GetInterface_Func broker_get_interface) |
PP_EXPORT int32_t | PPP_InitializeModule (PP_Module module_id, PPB_GetInterface get_browser_interface) |
PP_EXPORT void | PPP_ShutdownModule () |
PP_EXPORT const void * | PPP_GetInterface (const char *interface_name) |
Variables | |
static pp::Module * | g_module_singleton = NULL |
static PP_GetInterface_Func | g_broker_get_interface = NULL |
PP_EXPORT const void* PPP_GetInterface | ( | const char * | interface_name | ) |
Definition at line 53 of file ppp_entrypoints.cc.
References g_broker_get_interface, and pp::Module::GetPluginInterface().
PP_EXPORT int32_t PPP_InitializeModule | ( | PP_Module | module_id, |
PPB_GetInterface | get_browser_interface | ||
) |
Definition at line 34 of file ppp_entrypoints.cc.
References pp::CreateModule(), and pp::Module::InternalInit().
PP_EXPORT void PPP_ShutdownModule | ( | ) |
Definition at line 48 of file ppp_entrypoints.cc.
References g_module_singleton.
|
static |
Definition at line 17 of file ppp_entrypoints.cc.
Referenced by PPP_GetInterface(), and pp::SetBrokerGetInterfaceFunc().
|
static |
Definition at line 16 of file ppp_entrypoints.cc.
Referenced by pp::Module::Get(), and PPP_ShutdownModule().