mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-05 20:39:11 -05:00
23 lines
587 B
C++
23 lines
587 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>
|
|
#include <service-cellular/service-cellular/PacketDataTypes.hpp>
|
|
|
|
class ApnItemData : public gui::SwitchData
|
|
{
|
|
public:
|
|
ApnItemData(std::shared_ptr<packet_data::APN::Config> Apn) : apn(std::move(Apn)){};
|
|
ApnItemData() : apn(nullptr){};
|
|
|
|
auto getApn() -> std::shared_ptr<packet_data::APN::Config>
|
|
{
|
|
return apn;
|
|
}
|
|
|
|
private:
|
|
std::shared_ptr<packet_data::APN::Config> apn;
|
|
};
|