blob: fcebd6cbd88d49d42ca020c006286f6e0796066b
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 | { |
14 | public: |
15 | DECLARE_META_INTERFACE(TvClient); |
16 | |
17 | virtual void notifyCallback(int32_t msgType, const Parcel &p) = 0; |
18 | }; |
19 | |
20 | |
21 | class BnTvClient: public BnInterface<ITvClient> |
22 | { |
23 | public: |
24 | virtual status_t onTransact(uint32_t code, |
25 | const Parcel &data, |
26 | Parcel *reply, |
27 | uint32_t flags = 0); |
28 | }; |
29 | |
30 | #endif |
31 |