1
0
mirror of https://github.com/ioacademy-jikim/android_framwork synced 2025-06-07 16:06:29 +00:00
ioacademy-jikim 7a0a2db279 9
2018-06-15 10:55:16 +09:00

42 lines
932 B
C++

#ifndef ANDROID_ILED_CLIENT_H
#define ANDROID_ILED_CLIENT_H
#include <binder/IInterface.h>
#include <utils/String16.h>
namespace android {
// ----------------------------------------------------------------------
class ILedClient : public IInterface
{
public:
DECLARE_META_INTERFACE(LedClient)
virtual void dataCallback (int ratio) = 0;
enum {
DATA_CALLBACK = IBinder::FIRST_CALL_TRANSACTION
};
};
// ----------------------------------------------------------------------
class BnLedClient : public BnInterface<ILedClient>
{
public:
virtual status_t onTransact( uint32_t code,
const Parcel& data,
Parcel* reply,
uint32_t flags = 0);
};
// ----------------------------------------------------------------------------
}; // namespace android
#endif // ANDROID_ISERVICE_MANAGER_H