mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-21 15:38:23 -04:00
Phone mode widget will be visible only on main screen, while entering numbers or in emergency call mode. Also it will be disabled whenever NAT widget is enabled.
24 lines
646 B
C++
24 lines
646 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 "NumberWindow.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
|
|
class EmergencyCallWindow : public NumberWindow
|
|
{
|
|
public:
|
|
EmergencyCallWindow(app::Application *app, app::EnterNumberWindowInterface *interface);
|
|
~EmergencyCallWindow() override = default;
|
|
|
|
bool onInput(const InputEvent &inputEvent) override;
|
|
|
|
void buildInterface() override;
|
|
top_bar::Configuration configureTopBar(top_bar::Configuration appConfiguration) override;
|
|
};
|
|
|
|
} /* namespace gui */
|