Pepper_47_C++_interfaces
Public Member Functions | List of all members
pp::ExtensionSystemSamsungTizen Class Reference

#include <extension_system_samsung_tizen.h>

Inheritance diagram for pp::ExtensionSystemSamsungTizen:
Inheritance graph
Collaboration diagram for pp::ExtensionSystemSamsungTizen:
Collaboration graph

Public Member Functions

 ExtensionSystemSamsungTizen (const InstanceHandle &instance)
 
 ~ExtensionSystemSamsungTizen ()
 Destructor. More...
 
bool CheckPrivilege (const Var &privilege)
 
bool SetIMERecommendedWords (const Var &words)
 
bool SetIMERecommendedWordsType (bool should_enable)
 
int32_t GetWindowId ()
 GetWindowId() returns the X window Id for the current window. More...
 
- Public Member Functions inherited from pp::ExtensionSystemSamsung
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)
 

Additional Inherited Members

- Protected Member Functions inherited from pp::ExtensionSystemSamsung
 ExtensionSystemSamsung (const InstanceHandle &instance)
 
 ~ExtensionSystemSamsung ()
 Destructor. More...
 

Detailed Description

Definition at line 18 of file extension_system_samsung_tizen.h.

Constructor & Destructor Documentation

pp::ExtensionSystemSamsungTizen::ExtensionSystemSamsungTizen ( const InstanceHandle instance)
explicit

A constructor for creating a ExtensionSystemSamsung.

Parameters
[in]instanceThe instance with which this resource will be associated.

Definition at line 15 of file extension_system_samsung_tizen.cc.

pp::ExtensionSystemSamsungTizen::~ExtensionSystemSamsungTizen ( )

Destructor.

Definition at line 19 of file extension_system_samsung_tizen.cc.

Member Function Documentation

bool pp::ExtensionSystemSamsungTizen::CheckPrivilege ( const Var privilege)

CheckPrivilege() returns true if the current extension has given privilege, false otherwise.

Definition at line 21 of file extension_system_samsung_tizen.cc.

References pp::Var::AsString(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_string().

int32_t pp::ExtensionSystemSamsungTizen::GetWindowId ( )

GetWindowId() returns the X window Id for the current window.

Definition at line 54 of file extension_system_samsung_tizen.cc.

References pp::Var::AsInt(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_number().

bool pp::ExtensionSystemSamsungTizen::SetIMERecommendedWords ( const Var words)

SetIMERecommendedWords() returns true if setting recommended words was successful, false otherwise.

Parameters
[in]wordsVar containing std::string with words to set.

Definition at line 37 of file extension_system_samsung_tizen.cc.

References pp::Var::AsBool(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_bool().

bool pp::ExtensionSystemSamsungTizen::SetIMERecommendedWordsType ( bool  should_enable)

SetIMERecommendedWordsType() returns true if setting specified IME Recommended Words type was successful, false otherwise.

Parameters
[in]should_enablebool indicating if IMERecommendedWordsType should be enabled or disabled.

Definition at line 44 of file extension_system_samsung_tizen.cc.

References pp::Var::AsBool(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_bool().


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