mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
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.
31 lines
863 B
C++
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 */
|