aboutsummaryrefslogtreecommitdiff
path: root/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/BnDeprecated.h
blob: def983b1e6645c77a42fe05c365510dd75bb9cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include <binder/IInterface.h>
#include <android/aidl/tests/IDeprecated.h>
#include <android/aidl/tests/BnDeprecated.h>
#include <binder/Delegate.h>


namespace android {
namespace aidl {
namespace tests {
class __attribute__((deprecated("test"))) BnDeprecated : public ::android::BnInterface<IDeprecated> {
public:
  explicit BnDeprecated();
  ::android::status_t onTransact(uint32_t _aidl_code, const ::android::Parcel& _aidl_data, ::android::Parcel* _aidl_reply, uint32_t _aidl_flags) override;
};  // class BnDeprecated

class __attribute__((deprecated("test"))) IDeprecatedDelegator : public BnDeprecated {
public:
  explicit IDeprecatedDelegator(const ::android::sp<IDeprecated> &impl) : _aidl_delegate(impl) {}

  ::android::sp<IDeprecated> getImpl() { return _aidl_delegate; }
private:
  ::android::sp<IDeprecated> _aidl_delegate;
};  // class IDeprecatedDelegator
}  // namespace tests
}  // namespace aidl
}  // namespace android