19 template <>
const char* interface_name<PPB_DeviceControl_Samsung_0_1>() {
20 return PPB_DEVICECONTROL_SAMSUNG_INTERFACE_0_1;
41 if (has_interface<PPB_DeviceControl_Samsung_0_1>()) {
43 get_interface<PPB_DeviceControl_Samsung_0_1>()->Create(
50 if (has_interface<PPB_DeviceControl_Samsung_0_1>()) {
51 return get_interface<PPB_DeviceControl_Samsung_0_1>()->
ChangeSource(
54 return PP_ERROR_NOINTERFACE;
void PassRefFromConstructor(PP_Resource resource)
const PP_CompletionCallback & pp_completion_callback() const
PP_Resource pp_resource() const
PP_Instance pp_instance() const
A reference counted module resource.
int32_t ChangeSource(uint32_t sourceID, const CompletionCallback &callback)