mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-22 06:15:34 -04:00
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2021-2023 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@@ -35,14 +35,14 @@ namespace DistributedInput {
|
||||
class DistributedInputSourceHandler : public IDistributedHardwareSource {
|
||||
DECLARE_SINGLE_INSTANCE_BASE(DistributedInputSourceHandler);
|
||||
public:
|
||||
int32_t InitSource(const std::string& params) override;
|
||||
int32_t InitSource(const std::string ¶ms) override;
|
||||
int32_t ReleaseSource() override;
|
||||
int32_t RegisterDistributedHardware(const std::string& devId, const std::string& dhId,
|
||||
const EnableParam& param, std::shared_ptr<RegisterCallback> callback) override;
|
||||
int32_t UnregisterDistributedHardware(const std::string& devId, const std::string& dhId,
|
||||
int32_t RegisterDistributedHardware(const std::string &devId, const std::string &dhId,
|
||||
const EnableParam ¶m, std::shared_ptr<RegisterCallback> callback) override;
|
||||
int32_t UnregisterDistributedHardware(const std::string &devId, const std::string &dhId,
|
||||
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;
|
||||
int32_t ConfigDistributedHardware(const std::string &devId, const std::string &dhId, const std::string &key,
|
||||
const std::string &value) override;
|
||||
void FinishStartSA(const std::string ¶ms, const sptr<IRemoteObject> &remoteObject);
|
||||
|
||||
public:
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
class SALoadSourceCb : public OHOS::SystemAbilityLoadCallbackStub {
|
||||
public:
|
||||
void OnLoadSystemAbilitySuccess(int32_t systemAbilityId,
|
||||
const OHOS::sptr<IRemoteObject>& remoteObject) override;
|
||||
const OHOS::sptr<IRemoteObject> &remoteObject) override;
|
||||
|
||||
void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user