mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-25 07:24:20 -04:00
19 lines
598 B
C++
19 lines
598 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "BaseThreadsRecordModel.hpp"
|
|
|
|
class ThreadsModel : public BaseThreadsRecordModel
|
|
{
|
|
public:
|
|
explicit ThreadsModel(app::Application *app);
|
|
|
|
void requestRecords(uint32_t offset, uint32_t limit) override;
|
|
[[nodiscard]] auto getMinimalItemHeight() const -> unsigned int override;
|
|
[[nodiscard]] auto getItem(gui::Order order) -> gui::ListItem * override;
|
|
|
|
auto handleQueryResponse(db::QueryResult *queryResult) -> bool;
|
|
};
|