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