1d95e75fdSopenharmony_ci/*
2d95e75fdSopenharmony_ci * Copyright (C) 2021 Huawei Device Co., Ltd.
3d95e75fdSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4d95e75fdSopenharmony_ci * you may not use this file except in compliance with the License.
5d95e75fdSopenharmony_ci * You may obtain a copy of the License at
6d95e75fdSopenharmony_ci *
7d95e75fdSopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8d95e75fdSopenharmony_ci *
9d95e75fdSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10d95e75fdSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11d95e75fdSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12d95e75fdSopenharmony_ci * See the License for the specific language governing permissions and
13d95e75fdSopenharmony_ci * limitations under the License.
14d95e75fdSopenharmony_ci */
15d95e75fdSopenharmony_ci
16d95e75fdSopenharmony_ci#ifndef TELEPHONY_CELLULAR_CALL_CALLBACK_H
17d95e75fdSopenharmony_ci#define TELEPHONY_CELLULAR_CALL_CALLBACK_H
18d95e75fdSopenharmony_ci
19d95e75fdSopenharmony_ci#include "network_search_callback_base.h"
20d95e75fdSopenharmony_ci#include "cellular_call_interface.h"
21d95e75fdSopenharmony_ci
22d95e75fdSopenharmony_cinamespace OHOS {
23d95e75fdSopenharmony_cinamespace Telephony {
24d95e75fdSopenharmony_ciclass CellularCallCallback : public NetworkSearchCallBackBase {
25d95e75fdSopenharmony_cipublic:
26d95e75fdSopenharmony_ci    CellularCallCallback();
27d95e75fdSopenharmony_ci    ~CellularCallCallback();
28d95e75fdSopenharmony_ci
29d95e75fdSopenharmony_ci    /**
30d95e75fdSopenharmony_ci     * Clear the call corresponding to slotId
31d95e75fdSopenharmony_ci     *
32d95e75fdSopenharmony_ci     * @param slotId
33d95e75fdSopenharmony_ci     */
34d95e75fdSopenharmony_ci    void ClearCellularCallList(int32_t slotId) override;
35d95e75fdSopenharmony_ci
36d95e75fdSopenharmony_ci    void SetReadyToCall(int32_t slotId, int32_t callType, bool isReadyToCall) override;
37d95e75fdSopenharmony_ci};
38d95e75fdSopenharmony_ci} // namespace Telephony
39d95e75fdSopenharmony_ci} // namespace OHOS
40d95e75fdSopenharmony_ci#endif // TELEPHONY_CELLULAR_CALL_CALLBACK_H
41