Files
MuditaOS/module-apps/application-desktop/windows/Reboot.hpp
Adam Dobrowolski e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* 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)
2020-03-19 14:53:03 +01:00

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 */