mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-24 16:47:00 -04:00
21 lines
580 B
C++
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 */
|