tdesktop/Telegram/SourceFiles/export/output/export_output_abstract.cpp

21 lines
526 B
C++
Raw Normal View History

/*
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 "export/output/export_output_abstract.h"
#include "export/output/export_output_text.h"
namespace Export {
namespace Output {
std::unique_ptr<AbstractWriter> CreateWriter(Format format) {
return std::make_unique<TextWriter>();
}
} // namespace Output
} // namespace Export