Files
MuditaOS/module-apps/application-desktop/windows/MmiPushWindow.hpp
T
Alek Rudnik 0b9bca2a05 [EGD-6014] Fix top bar includes
This is only clean up of includes, no functional changes
2021-03-05 17:43:19 +01:00

29 lines
730 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <AppWindow.hpp>
#include <Text.hpp>
#include <functional>
#include <DialogMetadata.hpp>
namespace gui
{
class Image;
class MmiPushWindow : public AppWindow
{
protected:
Text *text = nullptr;
Image *icon = nullptr;
public:
MmiPushWindow(app::Application *app, const std::string &name);
~MmiPushWindow() override;
void onBeforeShow(ShowMode mode, SwitchData *data) override;
bool onInput(const InputEvent &inputEvent) override;
void destroyInterface() override;
};
}; // namespace gui