~aleteoryx/muditaos

ref: 6d344fe6cb6df6fc0ce4d83d2a6c88f078b20677 muditaos/module-gui/gui/widgets/ListItemWithDescription.cpp -rw-r--r-- 479 bytes
6d344fe6 — Paweł Joński [BH-655] Add SideListView 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "ListItemWithDescription.hpp"

namespace gui
{
    auto ListItemWithDescription::getDescription() const noexcept -> std::string
    {
        return description;
    }

    auto ListItemWithDescription::setDescription(std::string description) -> void
    {
        this->description = std::move(description);
    }
} // namespace gui