Files
MuditaOS/module-apps/application-call/windows/EnterNumberWindow.hpp
Lefucjusz 3b24ac9e90 [MOS-1047] Fix calling abort() in EnterNumberWindow
* Removed call to abort() method in case
EnterNumberWindow's SwitchData handler
receives message that can't be handled,
what caused the phone to crash.
* Unify ApplicationCall window names
definitions.
* Code cleanup.
2023-10-17 13:29:20 +02:00

30 lines
879 B
C++

// Copyright (c) 2017-2023, 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::ApplicationCommon *app,
app::EnterNumberWindowInterface *interface,
std::string windowName = gui::window::name::enter_number);
~EnterNumberWindow() override = default;
auto handleSwitchData(SwitchData *data) -> bool override;
void buildInterface() override;
status_bar::Configuration configureStatusBar(status_bar::Configuration appConfiguration) override;
auto addNewContact() -> bool;
};
} /* namespace gui */