Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
remote_controller_samsung.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_REMOTE_CONTROLLER_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_REMOTE_CONTROLLER_SAMSUNG_H_
7 
8 #include <string>
9 #include <vector>
10 
11 #include "ppapi/c/samsung/ppb_remote_controller_samsung.h"
13 
16 
17 namespace pp {
18 
20  public:
23  explicit RemoteControllerSamsung(const InstanceHandle& instance);
24 
50  int32_t RegisterKeys(uint32_t key_count, const char* keys[]);
51 
76  int32_t RegisterKeys(const std::vector<std::string>& keys);
77 
99  int32_t UnRegisterKeys(uint32_t key_count, const char* keys[]);
100 
121  int32_t UnRegisterKeys(const std::vector<std::string>& keys);
122 
123  private:
124  InstanceHandle instance_;
125 };
126 
127 } // namespace pp
128 
129 #endif // PPAPI_CPP_SAMSUNG_REMOTE_CONTROLLER_SAMSUNG_H_
Definition: remote_controller_samsung.h:19
RemoteControllerSamsung(const InstanceHandle &instance)
int32_t UnRegisterKeys(uint32_t key_count, const char *keys[])
int32_t RegisterKeys(uint32_t key_count, const char *keys[])
Definition: instance_handle.h:44