/* * Copyright (C) 2021 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 CS_CALL_H #define CS_CALL_H #include "cs_conference.h" #include "carrier_call.h" namespace OHOS { namespace Telephony { class CSCall : public CarrierCall { public: CSCall(DialParaInfo &info); CSCall(DialParaInfo &info, AppExecFwk::PacMap &extras); ~CSCall(); int32_t DialingProcess() override; int32_t AnswerCall(int32_t videoState) override; int32_t RejectCall() override; int32_t HangUpCall() override; int32_t HoldCall() override; int32_t UnHoldCall() override; int32_t SwitchCall() override; void GetCallAttributeInfo(CallAttributeInfo &info) override; int32_t SetMute(int32_t mute, int32_t slotId) override; int32_t CombineConference() override; // merge calls void HandleCombineConferenceFailEvent() override; int32_t SeparateConference() override; int32_t KickOutFromConference() override; int32_t CanCombineConference() override; int32_t CanSeparateConference() override; int32_t CanKickOutFromConference() override; int32_t LaunchConference() override; int32_t ExitConference() override; int32_t HoldConference() override; int32_t GetMainCallId(int32_t &mainCallId) override; int32_t GetSubCallIdList(std::vector &callIdList) override; int32_t GetCallIdListForConference(std::vector &callIdList) override; int32_t IsSupportConferenceable() override; }; } // namespace Telephony } // namespace OHOS #endif // CS_CALL_H