Files
MuditaOS/module-apps/apps-common/popups/PowerOffWindow.hpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

21 lines
580 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#pragma once
#include <windows/Dialog.hpp>
#include <popups/presenter/PowerOffPresenter.hpp>
namespace gui
{
class PowerOffWindow : public DialogYesNo
{
std::unique_ptr<PowerOffPresenter> presenter;
public:
PowerOffWindow(app::ApplicationCommon *app, std::unique_ptr<PowerOffPresenter> &&presenter);
void onBeforeShow(ShowMode mode, SwitchData *data) override;
};
} /* namespace gui */