2014-05-30 12:53:19 +04:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 13:23:14 +03:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2014-05-30 12:53:19 +04:00
|
|
|
|
2018-01-03 13:23:14 +03:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2014-05-30 12:53:19 +04:00
|
|
|
*/
|
2017-02-15 11:50:11 +03:00
|
|
|
#pragma once
|
2014-05-30 12:53:19 +04:00
|
|
|
|
2017-02-15 11:50:11 +03:00
|
|
|
#include <QtCore/QString>
|
|
|
|
#include <QtCore/QStringList>
|
|
|
|
|
2018-09-28 15:02:29 +03:00
|
|
|
#ifdef __APPLE__
|
|
|
|
#define SUPPORT_IMAGE_GENERATION
|
|
|
|
#endif // __APPLE__
|
|
|
|
|
2017-02-15 11:50:11 +03:00
|
|
|
namespace codegen {
|
|
|
|
namespace emoji {
|
|
|
|
|
|
|
|
struct Options {
|
|
|
|
QString outputPath = ".";
|
2017-07-19 21:37:49 +03:00
|
|
|
QString replacesPath;
|
2017-04-03 21:49:07 +03:00
|
|
|
#ifdef SUPPORT_IMAGE_GENERATION
|
2017-03-31 22:08:25 +03:00
|
|
|
bool writeImages = false;
|
2017-04-03 21:49:07 +03:00
|
|
|
#endif // SUPPORT_IMAGE_GENERATION
|
2017-02-15 11:50:11 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
// Parsing failed if inputPath is empty in the result.
|
|
|
|
Options parseOptions();
|
|
|
|
|
|
|
|
} // namespace emoji
|
|
|
|
} // namespace codegen
|