21 lines
374 B
C++
21 lines
374 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QtQml>
|
|
|
|
namespace ZShell::llm {
|
|
|
|
class LlmMarkdown : public QObject {
|
|
Q_OBJECT
|
|
QML_ELEMENT
|
|
QML_UNCREATABLE("Blocks are produced by LlmSegment")
|
|
|
|
public:
|
|
enum class Type : int { Text = 0, Heading, Code, Math };
|
|
Q_ENUM(Type)
|
|
|
|
explicit LlmMarkdown(QObject* parent = nullptr) : QObject(parent) {}
|
|
};
|
|
|
|
} // namespace ZShell::llm
|