Files
MuditaOS/module-apps/application-call/windows/EnterNumberWindow.hpp
Jakub Pyszczak 58668722d6 [EGD-5043] Add emergency call window
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.
2021-01-26 09:42:48 +01:00

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