Pepper_42_C++_interfaces
Public Member Functions | Protected Member Functions | List of all members
pp::ExtensionSystemSamsung Class Reference

#include <extension_system_samsung.h>

Inheritance diagram for pp::ExtensionSystemSamsung:
Inheritance graph
Collaboration diagram for pp::ExtensionSystemSamsung:
Collaboration graph

Public Member Functions

std::string GetEmbedderName () const
 GetEmbedderName() returns name of the extension system provider. More...
 
Var GetCurrentExtensionInfo ()
 
Var GenericSyncCall (const Var &operation_name, const Var &operation_data)
 

Protected Member Functions

 ExtensionSystemSamsung (const InstanceHandle &instance)
 
 ~ExtensionSystemSamsung ()
 Destructor. More...
 

Detailed Description

Definition at line 23 of file extension_system_samsung.h.

Constructor & Destructor Documentation

pp::ExtensionSystemSamsung::ExtensionSystemSamsung ( const InstanceHandle instance)
explicitprotected

A constructor for creating a ExtensionSystemSamsung.

Parameters
[in]instanceThe instance with which this resource will be associated.
pp::ExtensionSystemSamsung::~ExtensionSystemSamsung ( )
protected

Destructor.

Member Function Documentation

Var pp::ExtensionSystemSamsung::GenericSyncCall ( const Var operation_name,
const Var operation_data 
)

GenericSyncCall() communicates synchronously with extension system. The extension system will execute operation |operation_name| with provided arguments |operation_data|. See embedder documentation to know what operations are possible.

Parameters
[in]operation_nameThe name of operation to execute.
[in]operation_dataAdditional arguments for operation execution.
Var pp::ExtensionSystemSamsung::GetCurrentExtensionInfo ( )

GetCurrentExtensionInfo() returns information about current extension. If browser does not support extension system, it will return undefined value.

std::string pp::ExtensionSystemSamsung::GetEmbedderName ( ) const

GetEmbedderName() returns name of the extension system provider.


The documentation for this class was generated from the following file: