// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "VolteCapabiltyHandlerCellularInterface.hpp" #include "VolteAllowedListInterface.hpp" #include namespace cellular::service { class VolteCapabilityHandler { public: VolteCapabilityHandler(std::unique_ptr allowedList, std::unique_ptr cellularInterface); /** Check if it is a possibility to enable VoLTE on current operator * @return true when VoLTE is allowed, false when not */ auto isVolteAllowed(at::BaseChannel &channel) -> bool; private: std::unique_ptr allowedList; std::unique_ptr cellularInterface; }; } // namespace cellular::service