~aleteoryx/muditaos

ref: 4e034df4ed893ce3475319e1cb47e6f2d509e5be muditaos/module-apps/application-settings-new/data/BondedDevicesData.hpp -rw-r--r-- 585 bytes
4e034df4 — Przemyslaw Brudny [EDG-4743] Add new/options windows to quotes 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
24
// 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 <Device.hpp>

namespace gui
{

    class BondedDevicesData : public SwitchData
    {
      public:
        explicit BondedDevicesData(std::vector<Devicei> devices) : devices(std::move(devices))
        {}
        [[nodiscard]] auto getDevices() const noexcept -> const std::vector<Devicei> &
        {
            return devices;
        }

      private:
        const std::vector<Devicei> devices;
    };
} // namespace gui