mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-24 06:55:37 -04:00
Finalized onBoarding application. Added no sim ready window and sim response window. Created iceBox widget. Fixed various onBoarding errors and misalignment.
38 lines
1016 B
C++
38 lines
1016 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 "BaseSettingsWindow.hpp"
|
|
#include "Application.hpp"
|
|
|
|
namespace app::settingsInterface
|
|
{
|
|
class SimParams;
|
|
class OperatorsSettings;
|
|
}; // namespace app::settingsInterface
|
|
|
|
namespace gui
|
|
{
|
|
|
|
namespace window
|
|
{
|
|
inline constexpr auto network_window = "Network";
|
|
};
|
|
|
|
class NetworkWindow : public BaseSettingsWindow
|
|
{
|
|
private:
|
|
auto buildOptionsList() -> std::list<Option> override;
|
|
app::settingsInterface::SimParams *simParams;
|
|
app::settingsInterface::OperatorsSettings *operatorsSettings;
|
|
|
|
public:
|
|
NetworkWindow(app::Application *app,
|
|
app::settingsInterface::SimParams *simParams,
|
|
app::settingsInterface::OperatorsSettings *operatorsSettings);
|
|
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
};
|
|
} // namespace gui
|