Files
MuditaOS/module-apps/application-settings-new/windows/PhoneModesWindow.hpp
Przemyslaw Brudny 46e0cd3d89 [EGD-6552] Options cleanups and fixes
Fixed options crashes and cleared its structure. All
options returns points to proper list indexes.
2021-04-16 16:49:16 +02:00

36 lines
945 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 "OptionWindow.hpp"
#include "Application.hpp"
namespace app::settingsInterface
{
class SimParams;
class OperatorsSettings;
}; // namespace app::settingsInterface
namespace gui
{
namespace window
{
inline constexpr auto phone_modes_window = "PhoneModes";
};
class PhoneModesWindow : public OptionWindow
{
private:
auto modesOptList() -> std::list<gui::Option>;
app::settingsInterface::SimParams *simParams;
app::settingsInterface::OperatorsSettings *operatorsSettings;
public:
PhoneModesWindow(app::Application *app,
app::settingsInterface::SimParams *simParams,
app::settingsInterface::OperatorsSettings *operatorsSettings);
};
} // namespace gui