/* * Copyright (c) Hisilicon Technologies Co., Ltd.. 2012-2019. All rights reserved. * Description: * Author: * Create: */ #ifndef ITVCLIENT_H #define ITVCLIENT_H #include #include #include #include namespace android { #ifndef TD_UNUSED #define TD_UNUSED(x) ((void)x) #endif class ITVClient : public IInterface { public: DECLARE_META_INTERFACE(TVClient); virtual void notify(unsigned int type, const void *data, unsigned int len, const void *prev) = 0; }; // ---------------------------------------------------------------------------- class BnTVClient : public BnInterface { public: ~BnTVClient() override; status_t onTransact(uint32_t code, const Parcel &request, Parcel *reply, uint32_t flags = 0) override; private: static Mutex mNotifyLock; }; }; // namespace android #endif // __ITVCLIENT_H__