update the SA remote call interface

Signed-off-by: wanghaoxu <wanghaoxu1@huawei.com>
This commit is contained in:
wanghaoxu 2022-07-12 02:04:56 +00:00
parent 6579154d2c
commit 78e83305ca

View File

@ -23,7 +23,7 @@ class RpcSystemAbilityCallback {
public:
using OnLoadSystemAbilityComplete = std::func<void(const std::string& srcNetworkId, int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject)>;
virtual bool LoadSystemAbilityFromRemote(const std::string& srcNetworkId, int32_t systemAbilityId, OnLoadSystemAbilityComplete callback){ return false; }
virtual bool LoadSystemAbilityFromRemote(const std::string& srcNetworkId, int32_t systemAbilityId, OnLoadSystemAbilityComplete callback){ return false; };
virtual sptr<IRemoteObject> GetSystemAbilityFromRemote(int32_t systemAbilityId) = 0;
RpcSystemAbilityCallback() = default;