Steven Moreland | 08484f8 | 2016-10-14 12:27:48 -0700 | [diff] [blame^] | 1 | #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> |
| 8 | namespace android { |
| 9 | namespace hardware { |
| 10 | namespace example { |
| 11 | namespace extension { |
| 12 | namespace light { |
| 13 | namespace V2_0 { |
| 14 | namespace implementation { |
| 15 | |
| 16 | using ::android::hardware::example::extension::light::V2_0::ExtLightState; |
| 17 | using ::android::hardware::example::extension::light::V2_0::IExtLight; |
| 18 | using ::android::hardware::light::V2_0::ILight; |
| 19 | using ::android::hardware::light::V2_0::LightState; |
| 20 | using ::android::hardware::light::V2_0::Status; |
| 21 | using ::android::hardware::light::V2_0::Type; |
| 22 | using ::android::hardware::Return; |
| 23 | using ::android::hardware::Void; |
| 24 | using ::android::hardware::hidl_vec; |
| 25 | using ::android::hardware::hidl_string; |
| 26 | using ::android::sp; |
| 27 | |
| 28 | struct 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_ |