~aleteoryx/muditaos

ref: 4f0c3c82afe3811fa66c9110038b946c6d903d68 muditaos/module-apps/popups/Popups.hpp -rw-r--r-- 917 bytes
4f0c3c82 — Piotr Tański [EGD-6209] Tethering confirmation popup added 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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/popups/VolumeWindow.hpp>
#include <module-apps/popups/HomeModesWindow.hpp>

#include <string>

namespace gui
{
    namespace popup
    {
        enum class ID
        {
            Volume,
            PhoneModes,
            Brightness,
            Tethering
        };

        namespace window
        {
            inline constexpr auto volume_window      = "VolumePopup";
            inline constexpr auto phone_modes_window = "PhoneModesPopup";
            inline constexpr auto brightness_window  = "BrightnessPopup";
            inline constexpr auto tethering_confirmation_window = "TetheringConfirmationPopup";
        } // namespace window

        std::string resolveWindowName(ID id);
    }     // namespace popup
} // namespace gui