~aleteoryx/muditaos

ref: 3c813add9ee564784699a4c44464ac1cd50dc098 muditaos/module-apps/TopBarManager.cpp -rw-r--r-- 631 bytes
3c813add — Marek Niepieklo [EGD-6237] Add memory clearing of MTP database storage 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "TopBarManager.hpp"
#include "TopBar.hpp"

namespace app
{
    void TopBarManager::enableIndicators(const gui::top_bar::Indicators &indicators)
    {
        topBarConfiguration.enable(indicators);
    }

    auto TopBarManager::getConfiguration() const noexcept -> const gui::top_bar::Configuration &
    {
        return topBarConfiguration;
    }

    void TopBarManager::set(gui::top_bar::TimeMode timeMode)
    {
        topBarConfiguration.set(timeMode);
    }
} // namespace app