Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
extension_system_samsung_tizen.h
Go to the documentation of this file.
1 // Copyright 2016 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_CPP_SAMSUNG_EXTENSION_SYSTEM_SAMSUNG_TIZEN_H_
6 #define PPAPI_CPP_SAMSUNG_EXTENSION_SYSTEM_SAMSUNG_TIZEN_H_
7 
8 #include <map>
9 #include <string>
10 
12 
15 
16 namespace pp {
17 
19  public:
24  explicit ExtensionSystemSamsungTizen(const InstanceHandle& instance);
25 
28 
31  bool CheckPrivilege(const Var& privilege);
32 
37  bool SetIMERecommendedWords(const Var& words);
38 
44  bool SetIMERecommendedWordsType(bool should_enable);
45 
47  int32_t GetWindowId();
48 
49  private:
50  std::map<std::string, bool> privileges_result_;
51 };
52 
53 } // namespace pp
54 
55 #endif // PPAPI_CPP_SAMSUNG_EXTENSION_SYSTEM_SAMSUNG_TIZEN_H_
bool CheckPrivilege(const Var &privilege)
Definition: extension_system_samsung_tizen.h:18
bool SetIMERecommendedWords(const Var &words)
~ExtensionSystemSamsungTizen()
Destructor.
bool SetIMERecommendedWordsType(bool should_enable)
Definition: instance_handle.h:44
Definition: extension_system_samsung.h:18
int32_t GetWindowId()
GetWindowId() returns the X window Id for the current window.
A generic type used for passing data types between the module and the page.
Definition: var.h:23
ExtensionSystemSamsungTizen(const InstanceHandle &instance)