#pragma once

#include "common/SignalVectorModel.hpp"

#include <QObject>

namespace chatterino {

class ModerationAction;

class ModerationActionModel : public SignalVectorModel<ModerationAction>
{
public:
    explicit ModerationActionModel(QObject *parent);

protected:
    // turn a vector item into a model row
    virtual ModerationAction getItemFromRow(
        std::vector<QStandardItem *> &row,
        const ModerationAction &original) override;

    // turns a row in the model into a vector item
    virtual void getRowFromItem(const ModerationAction &item,
                                std::vector<QStandardItem *> &row) override;

    friend class HighlightController;
};

}  // namespace chatterino
