1
0
mirror of https://github.com/ioacademy-jikim/android_framwork synced 2025-06-07 16:06:29 +00:00
ioacademy-jikim 7c461cd04c 8
2018-06-14 17:24:32 +09:00

43 lines
963 B
C++

#ifndef ANDROID_ILED_SERVICE_H
#define ANDROID_ILED_SERVICE_H
#include <binder/IInterface.h>
#include <utils/String16.h>
#include "ILedClient.h"
namespace android {
// ----------------------------------------------------------------------
class ILedService : public IInterface
{
public:
DECLARE_META_INTERFACE(LedService)
virtual void connect(sp<ILedClient>& client) = 0;
enum {
CONNECT = IBinder::FIRST_CALL_TRANSACTION
};
};
// ----------------------------------------------------------------------
class BnLedService : public BnInterface<ILedService>
{
public:
virtual status_t onTransact( uint32_t code,
const Parcel& data,
Parcel* reply,
uint32_t flags = 0);
};
// ----------------------------------------------------------------------------
}; // namespace android
#endif // ANDROID_ISERVICE_MANAGER_H