Files
MuditaOS/module-apps/TopBarManager.hpp
Piotr Tański 4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00

20 lines
508 B
C++

// 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 <TopBar.hpp>
namespace app
{
class TopBarManager
{
public:
void enableIndicators(const gui::top_bar::Indicators &indicators);
[[nodiscard]] auto getConfiguration() const noexcept -> const gui::top_bar::Configuration &;
private:
gui::top_bar::Configuration topBarConfiguration;
};
} // namespace app