blob: e09ec9256f57d79a80e5239c40abd079305033a4 [file] [log] [blame]
Steven Moreland08484f82016-10-14 12:27:48 -07001#ifndef HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_
2#define HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_
3
4#include <android/hardware/example/extension/light/2.0/IExtLight.h>
5#include <hidl/Status.h>
6
7#include <hidl/MQDescriptor.h>
8namespace android {
9namespace hardware {
10namespace example {
11namespace extension {
12namespace light {
13namespace V2_0 {
14namespace implementation {
15
16using ::android::hardware::example::extension::light::V2_0::ExtLightState;
17using ::android::hardware::example::extension::light::V2_0::IExtLight;
18using ::android::hardware::light::V2_0::ILight;
19using ::android::hardware::light::V2_0::LightState;
20using ::android::hardware::light::V2_0::Status;
21using ::android::hardware::light::V2_0::Type;
22using ::android::hardware::Return;
23using ::android::hardware::Void;
24using ::android::hardware::hidl_vec;
25using ::android::hardware::hidl_string;
26using ::android::sp;
27
28struct Light : public IExtLight {
29 // Methods from ::android::hardware::light::V2_0::ILight follow.
30 Return<Status> setLight(Type type, const LightState& state) override;
31 Return<void> getSupportedTypes(getSupportedTypes_cb _hidl_cb) override;
32
33 // Methods from ::android::hardware::example::extension::light::V2_0::ILight follow.
34 Return<Status> setExtLight(Type type, const ExtLightState& state) override;
35
36};
37
38} // namespace implementation
39} // namespace V2_0
40} // namespace light
41} // namespace extension
42} // namespace example
43} // namespace hardware
44} // namespace android
45
46#endif // HIDL_GENERATED_android_hardware_example_extension_light_V2_0_Light_H_