diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 19:30:54 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-07 20:16:28 -0500 |
| commit | dd5367f488de7cd312e53705ffc970a723951ca2 (patch) | |
| tree | d7110eb124e6cc77cafb99acffe8067fe9807cb0 /src/moapplication.h | |
| parent | 08c952e53a4efcd5b50c0ec947bf216101c027ef (diff) | |
fixed AppConfig::logFileName so it can be used
refactored MOApplication so everything is in doOneRun()
Diffstat (limited to 'src/moapplication.h')
| -rw-r--r-- | src/moapplication.h | 7 |
1 files changed, 2 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>. 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<Instance> getCurrentInstance();
-
- int runApplication(
- SingleInstance& singleInstance,
- const QString &dataPath, Instance& currentInstance);
-
+ std::optional<int> setupInstanceLoop(Instance& currentInstance, PluginContainer& pc);
void purgeOldFiles();
void resetForRestart();
};
|
