Pepper_47_C++_interfaces
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
samsung
device_control_samsung.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Samsung Electronics, Visual Display Division.
3
* All Rights Reserved.
4
*
5
* @author Michal Majczak <m.majczak@samsung.com>
6
*
7
* Use of this source code is governed by a BSD-style license that can be
8
* found in the Chromium-LICENSE file.
9
*/
10
11
#ifndef PPAPI_CPP_SAMSUNG_DEVICE_CONTROL_SAMSUNG_H_
12
#define PPAPI_CPP_SAMSUNG_DEVICE_CONTROL_SAMSUNG_H_
13
14
#include "ppapi/c/samsung/ppb_device_control_samsung.h"
15
#include "
ppapi/cpp/completion_callback.h
"
16
#include "
ppapi/cpp/resource.h
"
17
18
namespace
pp {
19
20
class
InstanceHandle;
21
22
class
DeviceControlSamsung
:
public
Resource
{
23
public
:
24
DeviceControlSamsung
(
const
InstanceHandle
& instance);
25
26
DeviceControlSamsung
();
27
28
DeviceControlSamsung
(
PP_Resource
resource);
29
30
DeviceControlSamsung
(
PassRef
,
PP_Resource
resource);
31
32
DeviceControlSamsung
(
const
DeviceControlSamsung
& other);
33
/**
34
* ChangeSource() changes current TV source to the specified one.
35
*
36
* @param[in] sourceID A <code>uint32_t</code> identifying source to change
37
* to.
38
*
39
* @param[in] callback <code>CompletionCallback</code> that will be called
40
* upon completion.
41
*
42
* @return <code>PP_Error<code> with error code.
43
*/
44
int32_t
ChangeSource
(uint32_t sourceID,
const
CompletionCallback
& callback);
45
};
46
47
}
// namespace pp
48
49
50
#endif
/* PPAPI_CPP_SAMSUNG_DEVICE_CONTROL_SAMSUNG_H_ */
completion_callback.h
pp::DeviceControlSamsung::DeviceControlSamsung
DeviceControlSamsung()
Definition:
device_control_samsung.cc:25
pp::CompletionCallback
Definition:
completion_callback.h:24
resource.h
pp::InstanceHandle
Definition:
instance_handle.h:44
pp::PassRef
PassRef
Definition:
pass_ref.h:17
int32_t
PP_Resource
pp::DeviceControlSamsung
Definition:
device_control_samsung.h:22
pp::Resource
A reference counted module resource.
Definition:
resource.h:20
pp::DeviceControlSamsung::ChangeSource
int32_t ChangeSource(uint32_t sourceID, const CompletionCallback &callback)
Definition:
device_control_samsung.cc:48
Generated on Wed Apr 5 2017 11:09:27 for Pepper_47_C++_interfaces by
1.8.6