mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-26 01:07:17 -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.
29 lines
764 B
C++
29 lines
764 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 EnterNumberWindow : public NumberWindow
|
|
{
|
|
private:
|
|
gui::AddContactIcon *newContactIcon = nullptr;
|
|
|
|
public:
|
|
EnterNumberWindow(app::Application *app,
|
|
app::EnterNumberWindowInterface *interface,
|
|
std::string windowName = app::window::name_enterNumber);
|
|
~EnterNumberWindow() override = default;
|
|
|
|
auto handleSwitchData(SwitchData *data) -> bool override;
|
|
|
|
void buildInterface() override;
|
|
|
|
auto addNewContact() -> bool;
|
|
};
|
|
|
|
} /* namespace gui */
|