21 lines
564 B
C++
21 lines
564 B
C++
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#include "iv/markdown/iv_markdown_document.h"
|
|
|
|
#include <utility>
|
|
|
|
namespace Iv::Markdown {
|
|
|
|
PreparedDocument EmptyDocument(QString sourceName) {
|
|
auto document = PreparedDocument();
|
|
document.sourceName = std::move(sourceName);
|
|
document.document.kind = NodeKind::Document;
|
|
return document;
|
|
}
|
|
|
|
} // namespace Iv::Markdown
|