1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Include mocs, which reduces mocs_compilation

This commit is contained in:
Joshua Goins 2023-12-17 11:12:13 -05:00
parent 9676fcd4ef
commit 9156dd9c45
13 changed files with 30 additions and 1 deletions

View file

@ -67,6 +67,7 @@ target_sources(astra PRIVATE
src/compatibilitytoolinstaller.cpp
src/encryptedarg.cpp
src/gamerunner.cpp
src/headline.cpp
src/gameinstaller.cpp
src/launchercore.cpp
src/launchersettings.cpp

View file

@ -328,3 +328,5 @@ void Account::updateConfig()
file.write(reinterpret_cast<const char *>(buffer.data), buffer.size);
file.close();
}
#include "moc_account.cpp"

View file

@ -121,3 +121,5 @@ int AccountManager::numAccounts() const
{
return m_accounts.count();
}
#include "moc_accountmanager.cpp"

View file

@ -302,3 +302,5 @@ QUrl AssetUpdater::dotnetDesktopPackageUrl(const QString &version) const
return url;
}
#include "moc_assetupdater.cpp"

View file

@ -91,3 +91,5 @@ void CompatibilityToolInstaller::removeCompatibilityTool()
Q_EMIT installFinished();
}
#include "moc_compatibilitytoolinstaller.cpp"

View file

@ -64,3 +64,5 @@ void GameInstaller::installGame()
qInfo(ASTRA_LOG) << "Installed game in" << installDirectory;
});
}
#include "moc_gameinstaller.cpp"

View file

@ -0,0 +1,6 @@
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#include "headline.h"
#include "moc_headline.cpp"

View file

@ -357,3 +357,5 @@ QCoro::Task<> LauncherCore::fetchNews()
m_headline = headline;
Q_EMIT newsChanged();
}
#include "moc_launchercore.cpp"

View file

@ -167,3 +167,5 @@ Config *LauncherSettings::config()
{
return m_config;
}
#include "moc_launchersettings.cpp"

View file

@ -254,3 +254,5 @@ void Patcher::updateMessage()
}
}
}
#include "moc_patcher.cpp"

View file

@ -578,3 +578,5 @@ void Profile::setLoggedIn(const bool value)
Q_EMIT loggedInChanged();
}
}
#include "moc_profile.cpp"

View file

@ -163,3 +163,5 @@ int ProfileManager::numProfiles() const
{
return m_profiles.count();
}
#include "moc_profilemanager.cpp"

View file

@ -369,3 +369,5 @@ QString SquareEnixLogin::getFileHash(const QString &file)
return QStringLiteral("%1/%2").arg(QString::number(f.size()), QString::fromUtf8(hash.result().toHex()));
}
#include "moc_squareenixlogin.cpp"