aboutsummaryrefslogtreecommitdiff
path: root/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/IDeprecated.h
blob: 7d829d3030006aa9770afa0ef1ec63071a7b1138 (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/IBinder.h>
#include <binder/IInterface.h>
#include <binder/Status.h>
#include <binder/Trace.h>
#include <utils/StrongPointer.h>

namespace android {
namespace aidl {
namespace tests {
class IDeprecatedDelegator;

class __attribute__((deprecated("test"))) IDeprecated : public ::android::IInterface {
public:
  typedef IDeprecatedDelegator DefaultDelegator;
  DECLARE_META_INTERFACE(Deprecated)
};  // class IDeprecated

class __attribute__((deprecated("test"))) IDeprecatedDefault : public IDeprecated {
public:
  ::android::IBinder* onAsBinder() override {
    return nullptr;
  }
};  // class IDeprecatedDefault
}  // namespace tests
}  // namespace aidl
}  // namespace android