mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-26 10:02:13 -04:00
21 lines
554 B
C++
21 lines
554 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 "ListItem.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
class ListItemWithDescription : public ListItem
|
|
{
|
|
private:
|
|
std::string description;
|
|
|
|
public:
|
|
ListItemWithDescription(std::string desc = "") : ListItem(), description(desc){};
|
|
auto getDescription() const noexcept -> std::string;
|
|
auto setDescription(std::string description) -> void;
|
|
};
|
|
} /* namespace gui */
|