platform_hardware_interfaces/tests/inheritance/1.0/default/Parent.h
Steven Moreland 33e87b8a76 Remove HIDL_GENERATED from things written by hand.
find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+

They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.

Test: pass
Change-Id: I2c9d7887f6d6bdaa19a5c4bfcf02ee3d1dbc81d1
2016-11-22 15:34:39 -08:00

40 lines
1.1 KiB
C++

#ifndef ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H
#define ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H
#include <android/hardware/tests/inheritance/1.0/IParent.h>
#include <hidl/Status.h>
#include <hidl/MQDescriptor.h>
namespace android {
namespace hardware {
namespace tests {
namespace inheritance {
namespace V1_0 {
namespace implementation {
using ::android::hardware::tests::inheritance::V1_0::IParent;
using ::android::hardware::Return;
using ::android::hardware::Void;
using ::android::hardware::hidl_vec;
using ::android::hardware::hidl_string;
using ::android::sp;
struct Parent : public IParent {
// Methods from ::android::hardware::tests::inheritance::V1_0::IGrandparent follow.
Return<void> doGrandparent() override;
// Methods from ::android::hardware::tests::inheritance::V1_0::IParent follow.
Return<void> doParent() override;
};
extern "C" IParent* HIDL_FETCH_IParent(const char* name);
} // namespace implementation
} // namespace V1_0
} // namespace inheritance
} // namespace tests
} // namespace hardware
} // namespace android
#endif // ANDROID_HARDWARE_TESTS_INHERITANCE_V1_0_PARENT_H