Files
MuditaOS/module-apps/application-calllog/windows/CallLogMainWindow.hpp
Hubert Chrzaniuk 3cc558b02a [EGD-2931] Fix private number incoming calls
The change adjusts both cellular service as well as
call and call log applications to handle properly
incoming calls from private numbers.
2021-02-12 10:32:15 +01:00

40 lines
1018 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 <string>
#include <functional>
#include "AppWindow.hpp"
#include "gui/widgets/Label.hpp"
#include "gui/widgets/Image.hpp"
#include "gui/widgets/Window.hpp"
#include "gui/widgets/BottomBar.hpp"
#include "gui/widgets/TopBar.hpp"
#include "gui/widgets/ListView.hpp"
#include "../CalllogModel.hpp"
namespace gui
{
class CallLogMainWindow : public AppWindow
{
std::shared_ptr<CalllogModel> calllogModel = nullptr;
gui::ListView *list = nullptr;
public:
CallLogMainWindow(app::Application *app);
// virtual methods
void onBeforeShow(ShowMode mode, SwitchData *data) override;
void rebuild() override;
void buildInterface() override;
void destroyInterface() override;
bool onDatabaseMessage(sys::Message *msg) override;
};
} /* namespace gui */