mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-03 20:57:19 -04:00
* SIM hot swap should now properly show |x| in sim place when there is no SIM inserted in selected sim slot * ServiceCellular now can inform on Fatal state desktop which will trigger window `Reboot` with no point of exit * All windows in Desktop now have name in one place * Access to cmux channels via enum class instead of String (which is errorprone)
25 lines
552 B
C++
25 lines
552 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "AppWindow.hpp"
|
|
#include <Text.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class RebootWindow : public AppWindow
|
|
{
|
|
|
|
Text *text = nullptr;
|
|
|
|
public:
|
|
RebootWindow(app::Application *app);
|
|
~RebootWindow() override = default;
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
bool onInput(const InputEvent &inputEvent) override;
|
|
void rebuild() override;
|
|
void buildInterface() override;
|
|
void destroyInterface() override;
|
|
};
|
|
|
|
} /* namespace gui */
|