mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-25 06:15:33 -04:00
modify code review
Signed-off-by: hwzhangchuang <zhangchuang.zhang@huawei.com>
This commit is contained in:
@@ -45,10 +45,10 @@ public:
|
||||
std::shared_ptr<UnregisterCallback> callback) override;
|
||||
int32_t ConfigDistributedHardware(const std::string &devId, const std::string &dhId, const std::string &key,
|
||||
const std::string &value) override;
|
||||
void RegisterBusinessStateListener(std::shared_ptr<BusinessStateListener> listener) override;
|
||||
void UnRegisterBusinessStateListener() override;
|
||||
void RegisterDistributedHardwareStateListener(std::shared_ptr<BusinessStateListener> listener) override;
|
||||
void UnregisterDistributedHardwareStateListener() override;
|
||||
void RegisterDataSyncTriggerListener(std::shared_ptr<DataSyncTriggerListener> listener) override;
|
||||
void UnRegisterDataSyncTriggerListener() override;
|
||||
void UnregisterDataSyncTriggerListener() override;
|
||||
void FinishStartSA(const std::string ¶ms, const sptr<IRemoteObject> &remoteObject);
|
||||
void OnRemoteSourceSvrDied(const wptr<IRemoteObject> &remote);
|
||||
|
||||
|
||||
@@ -111,12 +111,12 @@ int32_t DistributedInputSourceHandler::ConfigDistributedHardware(const std::stri
|
||||
return DH_SUCCESS;
|
||||
}
|
||||
|
||||
void DistributedInputSourceHandler::RegisterBusinessStateListener(std::shared_ptr<BusinessStateListener> listener)
|
||||
void DistributedInputSourceHandler::RegisterDistributedHardwareStateListener(std::shared_ptr<BusinessStateListener> listener)
|
||||
{
|
||||
(void)listener;
|
||||
}
|
||||
|
||||
void DistributedInputSourceHandler::UnRegisterBusinessStateListener()
|
||||
void DistributedInputSourceHandler::UnregisterDistributedHardwareStateListener()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ void DistributedInputSourceHandler::RegisterDataSyncTriggerListener(std::shared_
|
||||
(void)listener;
|
||||
}
|
||||
|
||||
void DistributedInputSourceHandler::UnRegisterDataSyncTriggerListener()
|
||||
void DistributedInputSourceHandler::UnregisterDataSyncTriggerListener()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user