Files
MuditaOS/module-apps/application-call/windows/EnterNumberWindow.hpp
tomaszkrosnowski 49de2d2c29 [EGD-6314] Phone mode widget visibility
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.
2021-03-24 22:49:26 +01:00

31 lines
863 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;
top_bar::Configuration configureTopBar(top_bar::Configuration appConfiguration) override;
auto addNewContact() -> bool;
};
} /* namespace gui */