Pepper_47_C++_interfaces
|
#include <device_control_samsung.h>
Public Member Functions | |
DeviceControlSamsung (const InstanceHandle &instance) | |
DeviceControlSamsung () | |
DeviceControlSamsung (PP_Resource resource) | |
DeviceControlSamsung (PassRef, PP_Resource resource) | |
DeviceControlSamsung (const DeviceControlSamsung &other) | |
int32_t | ChangeSource (uint32_t sourceID, const CompletionCallback &callback) |
![]() | |
Resource () | |
The default constructor. More... | |
Resource (const Resource &other) | |
virtual | ~Resource () |
Destructor. More... | |
Resource & | operator= (const Resource &other) |
bool | is_null () const |
PP_Resource | pp_resource () const |
PP_Resource | detach () |
Additional Inherited Members | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 22 of file device_control_samsung.h.
pp::DeviceControlSamsung::DeviceControlSamsung | ( | const InstanceHandle & | instance | ) |
Definition at line 40 of file device_control_samsung.cc.
References pp::Resource::PassRefFromConstructor(), and pp::InstanceHandle::pp_instance().
pp::DeviceControlSamsung::DeviceControlSamsung | ( | ) |
Definition at line 25 of file device_control_samsung.cc.
pp::DeviceControlSamsung::DeviceControlSamsung | ( | PP_Resource | resource | ) |
Definition at line 28 of file device_control_samsung.cc.
pp::DeviceControlSamsung::DeviceControlSamsung | ( | PassRef | , |
PP_Resource | resource | ||
) |
Definition at line 32 of file device_control_samsung.cc.
pp::DeviceControlSamsung::DeviceControlSamsung | ( | const DeviceControlSamsung & | other | ) |
Definition at line 36 of file device_control_samsung.cc.
int32_t pp::DeviceControlSamsung::ChangeSource | ( | uint32_t | sourceID, |
const CompletionCallback & | callback | ||
) |
ChangeSource() changes current TV source to the specified one.
[in] | sourceID | A uint32_t identifying source to change to. |
[in] | callback | CompletionCallback that will be called upon completion. |
PP_Error with error code.
Definition at line 48 of file device_control_samsung.cc.
References pp::CompletionCallback::pp_completion_callback(), and pp::Resource::pp_resource().