// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "NotificationsChangedActionsParams.hpp" #include using namespace app::manager::actions; NotificationsChangedParams::NotificationsChangedParams(Notifications notifications, bool showNotificationsWhenLocked, bool fastRefreshOnUpdate) : notifications{std::move(notifications)}, showWhenLocked{showNotificationsWhenLocked}, fastRefreshOnUpdate{ fastRefreshOnUpdate} {} auto NotificationsChangedParams::getNotifications() const noexcept -> const Notifications & { return notifications; } auto NotificationsChangedParams::showNotificationsWhenLocked() const noexcept -> bool { return showWhenLocked; } auto NotificationsChangedParams::fastRefreshOnNotificationUpdate() const noexcept -> bool { return fastRefreshOnUpdate; }