mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-10-25 07:58:29 -04:00
According to PurePhone design emergency call window is needed after "SOS" callback at the screen lock. This PR introduce implementation of emergency call window and also refactor in the enter number window. Both windows derives from new number window.
23 lines
548 B
C++
23 lines
548 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;
|
|
};
|
|
|
|
} /* namespace gui */
|