From dd5367f488de7cd312e53705ffc970a723951ca2 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Sat, 7 Nov 2020 19:30:54 -0500 Subject: fixed AppConfig::logFileName so it can be used refactored MOApplication so everything is in doOneRun() --- src/moapplication.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/moapplication.h') diff --git a/src/moapplication.h b/src/moapplication.h index 8cbb5f28..7423c897 100644 --- a/src/moapplication.h +++ b/src/moapplication.h @@ -26,6 +26,7 @@ along with Mod Organizer. If not, see . class Settings; class SingleInstance; class Instance; +class PluginContainer; namespace MOBase { class IPluginGame; } namespace cl { class CommandLine; } @@ -57,11 +58,7 @@ private: int doOneRun(SingleInstance& singleInstance); std::optional getCurrentInstance(); - - int runApplication( - SingleInstance& singleInstance, - const QString &dataPath, Instance& currentInstance); - + std::optional setupInstanceLoop(Instance& currentInstance, PluginContainer& pc); void purgeOldFiles(); void resetForRestart(); }; -- cgit v1.3.1