Files
MuditaOS/module-apps/application-settings-new/data/PhoneNameData.hpp
T
SP2FET 71a8252029 [EGD-4580] Add BT settings middleware
Added bluetooth settings middleware to store BT status in settings.
Added middleware layer to handle new settings queries.
2021-01-14 17:19:44 +01:00

23 lines
542 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 <string>
#include <SwitchData.hpp>
namespace gui
{
class PhoneNameData : public SwitchData
{
public:
explicit PhoneNameData(std::string name) : name(std::move(name))
{}
[[nodiscard]] auto getName() const -> const std::string &
{
return name;
}
private:
const std::string name;
};
} // namespace gui