mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-20 21:14:12 -04:00
Windows for phone modes created. Offline:FightMode/messages only ServiceCellularApi created. ConnectionFrequency and DND options settings throught AppSettings.
32 lines
877 B
C++
32 lines
877 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "BaseSettingsWindow.hpp"
|
|
|
|
#include <Text.hpp>
|
|
|
|
namespace app::settingsInterface
|
|
{
|
|
class OfflineSettings;
|
|
} // namespace app::settingsInterface
|
|
|
|
namespace gui
|
|
{
|
|
class OfflineWindow : public BaseSettingsWindow
|
|
{
|
|
public:
|
|
OfflineWindow(app::Application *app, app::settingsInterface::OfflineSettings *offlineSettings);
|
|
void buildInterface() override;
|
|
|
|
private:
|
|
app::settingsInterface::OfflineSettings *offlineSettings;
|
|
Rect *bar = nullptr;
|
|
Text *descriptionText = nullptr;
|
|
auto buildOptionsList() -> std::list<Option> override;
|
|
bool changeFlightMode(bool isFlightMode);
|
|
bool isFlightMode = true;
|
|
};
|
|
}; // namespace gui
|