blob: d38985329ed07dd981c3ba50a2faa8415f94d4be [file] [log] [blame]
Yifan Hongcc6ad7d2016-10-18 18:44:17 -07001#ifndef HIDL_GENERATED_android_hardware_tests_inheritance_V1_0_Fetcher_H_
2#define HIDL_GENERATED_android_hardware_tests_inheritance_V1_0_Fetcher_H_
3
4#include "Child.h"
5#include <android/hardware/tests/inheritance/1.0/IFetcher.h>
6#include <hidl/Status.h>
7
8#include <hidl/MQDescriptor.h>
9namespace android {
10namespace hardware {
11namespace tests {
12namespace inheritance {
13namespace V1_0 {
14namespace implementation {
15
16using ::android::hardware::tests::inheritance::V1_0::IFetcher;
17using ::android::hardware::Return;
18using ::android::hardware::Void;
19using ::android::hardware::hidl_vec;
20using ::android::hardware::hidl_string;
21using ::android::sp;
22
23struct Fetcher : public IFetcher {
24
25 Fetcher();
26
27 // Methods from ::android::hardware::tests::inheritance::V1_0::IFetcher follow.
28 Return<void> getGrandparent(bool sendRemote, getGrandparent_cb _hidl_cb) override;
29 Return<void> getParent(bool sendRemote, getParent_cb _hidl_cb) override;
30 Return<void> getChild(bool sendRemote, getChild_cb _hidl_cb) override;
31
32private:
33 sp<IChild> mPrecious;
34};
35
36extern "C" IFetcher* HIDL_FETCH_IFetcher(const char* name);
37
38} // namespace implementation
39} // namespace V1_0
40} // namespace inheritance
41} // namespace tests
42} // namespace hardware
43} // namespace android
44
45#endif // HIDL_GENERATED_android_hardware_tests_inheritance_V1_0_Fetcher_H_