mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-04 11:58:43 -05:00
24 lines
545 B
C++
24 lines
545 B
C++
// 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 <gui/SwitchData.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class DeviceData : public SwitchData
|
|
{
|
|
public:
|
|
explicit DeviceData(std::vector<Devicei> devices) : devices(std::move(devices))
|
|
{}
|
|
auto getDevices() -> const std::vector<Devicei> &
|
|
{
|
|
return devices;
|
|
}
|
|
|
|
private:
|
|
std::vector<Devicei> devices{};
|
|
};
|
|
} // namespace gui
|