~aleteoryx/muditaos

ref: 42c22d78566e89c816e55e49e910344a57eeada8 muditaos/module-apps/application-call/data/CallWindowData.hpp -rw-r--r-- 517 bytes
42c22d78 — Radoslaw Wicik [EGD-5270] Add packages rhash, tar, zip to docker image 5 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
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include "CallWindowState.hpp"
#include <SwitchData.hpp>

namespace gui
{
    class CallWindowData : public SwitchData
    {
        call::State state;

      public:
        CallWindowData(call::State state) : state(state)
        {}
        [[nodiscard]] const auto &getState() const noexcept
        {
            return state;
        }
    };
} // namespace gui