2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Remove many includes from stdafx.pch.

This commit is contained in:
John Preston
2019-09-04 10:19:15 +03:00
parent 4929de2bfb
commit 6343221d7b
109 changed files with 447 additions and 87 deletions

View File

@@ -8,10 +8,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#define __HUGE
// Fix Google Breakpad build for Mac App Store version
#ifdef Q_OS_MAC
#define __STDC_FORMAT_MACROS
#endif // Q_OS_MAC
#ifdef OS_MAC_STORE
#define MAC_USE_BREAKPAD
#endif // OS_MAC_STORE
#ifdef __cplusplus
@@ -28,7 +27,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#pragma warning(disable:4180)
#endif // __clang__ || _MSC_VER >= 1914
#include <QtCore/QtCore>
#include <QtCore/QMap>
#ifdef __clang__
#pragma clang diagnostic pop
@@ -36,12 +35,54 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#pragma warning(pop)
#endif // __clang__ || _MSC_VER >= 1914
#ifdef OS_MAC_STORE
#define MAC_USE_BREAKPAD
#endif // OS_MAC_STORE
#include <QtCore/QtMath>
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtCore/QMutex>
#include <QtCore/QReadWriteLock>
#include <QtCore/QDataStream>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QThread>
#include <QtCore/QByteArray>
#include <QtCore/QChar>
#include <QtCore/QDateTime>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QMargins>
#include <QtCore/QPair>
#include <QtCore/QPoint>
#include <QtCore/QRect>
#include <QtCore/QRegularExpression>
#include <QtCore/QSet>
#include <QtCore/QSize>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVector>
#include <QtWidgets/QtWidgets>
#include <QtNetwork/QtNetwork>
#include <QtGui/QIcon>
#include <QtGui/QImage>
#include <QtGui/QImageReader>
#include <QtGui/QPixmap>
#include <QtGui/QtEvents>
#include <QtGui/QBrush>
#include <QtGui/QColor>
#include <QtGui/QPainter>
#include <QtGui/QPainterPath>
#include <QtGui/QPen>
#include <QtGui/QRegion>
#include <QtGui/QRgb>
#include <QtGui/QFont>
#include <QtGui/QFontInfo>
#include <QtWidgets/QWidget>
#include <QtWidgets/QOpenGLWidget>
// Fix Google Breakpad build for Mac App Store version
#ifdef Q_OS_MAC
#define __STDC_FORMAT_MACROS
#endif // Q_OS_MAC
#include <array>
#include <vector>