blob: 05c498dbe1cbfb73a567038f5fbd68fe59691695
1 | #ifndef ANDROID_AMLOGIC_ITV_CLIENT_H |
2 | #define ANDROID_AMLOGIC_ITV_CLIENT_H |
3 | |
4 | #include <utils/RefBase.h> |
5 | #include <binder/IInterface.h> |
6 | #include <binder/Parcel.h> |
7 | #include <binder/IMemory.h> |
8 | #include <utils/Timers.h> |
9 | |
10 | using namespace android; |
11 | |
12 | class ITvClient: public IInterface { |
13 | public: |
14 | DECLARE_META_INTERFACE(TvClient); |
15 | |
16 | virtual void notifyCallback(int32_t msgType, const Parcel &p) = 0; |
17 | }; |
18 | |
19 | |
20 | class BnTvClient: public BnInterface<ITvClient> { |
21 | public: |
22 | virtual status_t onTransact(uint32_t code, |
23 | const Parcel &data, |
24 | Parcel *reply, |
25 | uint32_t flags = 0); |
26 | }; |
27 | |
28 | #endif |
29 |