Pepper_42_C_interfaces
|
#include <ppb_extension_system_samsung.h>
Public Attributes | |
struct PP_Var(* | GetEmbedderName )(PP_Instance instance) |
struct PP_Var(* | GetCurrentExtensionInfo )(PP_Instance instance) |
int32_t(* | GenericSyncCall )(PP_Instance instance, struct PP_Var operation_name, struct PP_Var operation_argument, struct PP_Var *result) |
The PPB_ExtensionSystem_Samsung interface contains pointers to functions related to the extension system. The extension system can be different for each browser.
Definition at line 37 of file ppb_extension_system_samsung.h.
int32_t(* PPB_ExtensionSystem_Samsung_0_1::GenericSyncCall)(PP_Instance instance, struct PP_Var operation_name, struct PP_Var operation_argument, struct PP_Var *result) |
GenericSyncCall() executes operation associated with the current extension. The operation is synchronous and blocks the caller until completes. See embedder documentation to know what operations are possible.
[in] | instance | A PP_Instance identifying one instance of a module. |
[in] | operation_name | A string with name of operation to execute. |
[in] | operation_argument | A variable to be passed to embedder |
[out] | result | A variable containing result of execution (embedder defined). |
pp_errors.h
. Definition at line 76 of file ppb_extension_system_samsung.h.
struct PP_Var(* PPB_ExtensionSystem_Samsung_0_1::GetCurrentExtensionInfo)(PP_Instance instance) |
GetCurrentExtensionInfo() gets dictionary with information for current extension. Keys and values of the dictionary are dependant on the embedder, and they can differ between embedders. If current embedder does not support extension system undefined value is returned.
[in] | instance | A PP_Instance identifying one instance of a module. |
PP_Var
with information of current extension. Definition at line 60 of file ppb_extension_system_samsung.h.
struct PP_Var(* PPB_ExtensionSystem_Samsung_0_1::GetEmbedderName)(PP_Instance instance) |
GetEmbedderName() provides string with embedder name (embedder of current extension). "Chrome", "TizenWRT", "ExtensionEngine" are one of possible values.
[in] | instance | A PP_Instance identifying one instance of a module. |
PP_Var
with name of extension embedder. Definition at line 48 of file ppb_extension_system_samsung.h.