Pepper_47_C++_interfaces
Namespaces | Functions | Variables
ppp_entrypoints.cc File Reference
#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"
Include dependency graph for ppp_entrypoints.cc:

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::Moduleg_module_singleton = NULL
 
static PP_GetInterface_Func g_broker_get_interface = NULL
 

Function Documentation

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.

Variable Documentation

PP_GetInterface_Func g_broker_get_interface = NULL
static

Definition at line 17 of file ppp_entrypoints.cc.

Referenced by PPP_GetInterface(), and pp::SetBrokerGetInterfaceFunc().

pp::Module* g_module_singleton = NULL
static

Definition at line 16 of file ppp_entrypoints.cc.

Referenced by pp::Module::Get(), and PPP_ShutdownModule().