You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
803 B
32 lines
803 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2012-2019. All rights reserved.
|
|
* Description: API of DTV client.
|
|
* Author: DTV stack software group
|
|
* Create: 2012-09-18
|
|
*/
|
|
#ifndef IDTVCLIENT_H
|
|
#define IDTVCLIENT_H
|
|
|
|
#include <utils/RefBase.h>
|
|
#include <binder/IInterface.h>
|
|
#include <binder/Parcel.h>
|
|
#include "svr_type.h"
|
|
|
|
using namespace android;
|
|
|
|
class IDTVClient : public IInterface {
|
|
public:
|
|
DECLARE_META_INTERFACE(DTVClient);
|
|
|
|
virtual void Notify(SVR_S32 msg, SVR_S32 ext1, SVR_S32 ext2, SVR_S32 ext3, const Parcel *parcelObj) = 0;
|
|
};
|
|
|
|
class BnDTVClient : public BnInterface<IDTVClient> {
|
|
public:
|
|
BnDTVClient() {}
|
|
virtual ~BnDTVClient() {}
|
|
virtual status_t onTransact(uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags = 0);
|
|
};
|
|
|
|
#endif // IDTVCLIENT_H
|