mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor(Application.h): reduce include chain
Include only what's absolutely necessary to reduce headers pulled into a translation unit. If you need access to instance's from `APPLICATION` include `BaseInstance.h` separately Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
35121f26fd
commit
0ba2c09787
6 changed files with 21 additions and 6 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#define PRISM_PRECOMPILED_BASE_HEADERS_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
|
|
|||
|
|
@ -5,9 +5,15 @@
|
|||
#include <QEvent>
|
||||
#include <QMetaType>
|
||||
#include <QObject>
|
||||
|
||||
#include <QPointer>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include <QVariant>
|
||||
#include <QVariantMap>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue