~aleteoryx/muditaos

ref: ef63ee267c78136773ed23156ad85a75e650a7b6 muditaos/module-apps/application-desktop/presenter/PowerOffPresenter.hpp -rw-r--r-- 411 bytes
ef63ee26 — Wojtek Rzepecki [EGD-5304] Add new way of system close 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 <module-apps/Application.hpp>

namespace gui
{
    class PowerOffPresenter
    {
      public:
        PowerOffPresenter(app::Application *app);
        void powerOff();

      private:
        app::Application *application;
    };

} // namespace gui