mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-18 16:04:40 -04:00
56df04c600
Signed-off-by: litiangang4 <litiangang4@huawei.com>
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/*
|
|
* Copyright (c) 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
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef I_REGISTER_SESSION_STATE_CALLBACK_H
|
|
#define I_REGISTER_SESSION_STATE_CALLBACK_H
|
|
|
|
#include <string>
|
|
|
|
#include <iremote_broker.h>
|
|
|
|
namespace OHOS {
|
|
namespace DistributedHardware {
|
|
namespace DistributedInput {
|
|
class ISessionStateCallback : public IRemoteBroker {
|
|
public:
|
|
virtual void OnResult(const std::string &devId, const uint32_t status) = 0;
|
|
|
|
enum class Message {
|
|
RESULT,
|
|
};
|
|
|
|
DECLARE_INTERFACE_DESCRIPTOR(u"ohos.DistributedHardware.DistributedInput.ISessionStateCallback");
|
|
};
|
|
} // namespace DistributedInput
|
|
} // namespace DistributedHardware
|
|
} // namespace OHOS
|
|
|
|
#endif // I_REGISTER_SESSION_STATE_CALLBACK_H
|