~aleteoryx/muditaos

ref: bc6eda40833b26140da2d2ec8234bdb73440061b muditaos/module-apps/apps-common/popups/lock-popups/SimSwitchingWindow.hpp -rw-r--r-- 616 bytes
bc6eda40 — Maciej-Mudita [MOS-800] Add a popup for changing the SIM card 3 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
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <popups/WindowWithTimer.hpp>
#include <Timers/TimerHandle.hpp>
#include <gui/widgets/Icon.hpp>

namespace gui
{
    class SimSwitchingWindow : public WindowWithTimer
    {
      private:
        Icon *infoIcon{nullptr};
        bool switchedSuccessful{false};

        void updateInterface();

      public:
        SimSwitchingWindow(app::ApplicationCommon *app, const std::string &name);

        void buildInterface() override;
    };
} // namespace gui