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:
parent
9676fcd4ef
commit
9156dd9c45
13 changed files with 30 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -328,3 +328,5 @@ void Account::updateConfig()
|
|||
file.write(reinterpret_cast<const char *>(buffer.data), buffer.size);
|
||||
file.close();
|
||||
}
|
||||
|
||||
#include "moc_account.cpp"
|
|
@ -121,3 +121,5 @@ int AccountManager::numAccounts() const
|
|||
{
|
||||
return m_accounts.count();
|
||||
}
|
||||
|
||||
#include "moc_accountmanager.cpp"
|
|
@ -302,3 +302,5 @@ QUrl AssetUpdater::dotnetDesktopPackageUrl(const QString &version) const
|
|||
|
||||
return url;
|
||||
}
|
||||
|
||||
#include "moc_assetupdater.cpp"
|
|
@ -91,3 +91,5 @@ void CompatibilityToolInstaller::removeCompatibilityTool()
|
|||
|
||||
Q_EMIT installFinished();
|
||||
}
|
||||
|
||||
#include "moc_compatibilitytoolinstaller.cpp"
|
|
@ -64,3 +64,5 @@ void GameInstaller::installGame()
|
|||
qInfo(ASTRA_LOG) << "Installed game in" << installDirectory;
|
||||
});
|
||||
}
|
||||
|
||||
#include "moc_gameinstaller.cpp"
|
6
launcher/src/headline.cpp
Normal file
6
launcher/src/headline.cpp
Normal 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"
|
|
@ -357,3 +357,5 @@ QCoro::Task<> LauncherCore::fetchNews()
|
|||
m_headline = headline;
|
||||
Q_EMIT newsChanged();
|
||||
}
|
||||
|
||||
#include "moc_launchercore.cpp"
|
|
@ -167,3 +167,5 @@ Config *LauncherSettings::config()
|
|||
{
|
||||
return m_config;
|
||||
}
|
||||
|
||||
#include "moc_launchersettings.cpp"
|
|
@ -254,3 +254,5 @@ void Patcher::updateMessage()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "moc_patcher.cpp"
|
|
@ -578,3 +578,5 @@ void Profile::setLoggedIn(const bool value)
|
|||
Q_EMIT loggedInChanged();
|
||||
}
|
||||
}
|
||||
|
||||
#include "moc_profile.cpp"
|
|
@ -163,3 +163,5 @@ int ProfileManager::numProfiles() const
|
|||
{
|
||||
return m_profiles.count();
|
||||
}
|
||||
|
||||
#include "moc_profilemanager.cpp"
|
|
@ -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"
|
Loading…
Add table
Reference in a new issue