From 90ea45328d72f9664ace3cfbdce700dbe7a1d016 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Sat, 7 Nov 2020 16:16:47 -0500
Subject: moved splash stuff to MOSplash comments
---
src/moapplication.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
(limited to 'src/moapplication.h')
diff --git a/src/moapplication.h b/src/moapplication.h
index c67c4622..0ee04492 100644
--- a/src/moapplication.h
+++ b/src/moapplication.h
@@ -23,6 +23,8 @@ along with Mod Organizer. If not, see .
#include
#include
+class Settings;
+namespace MOBase { class IPluginGame; }
class MOApplication : public QApplication
{
@@ -46,4 +48,21 @@ private:
};
+class MOSplash
+{
+public:
+ MOSplash(
+ const Settings& settings, const QString& dataPath,
+ const MOBase::IPluginGame* game);
+
+ void close();
+
+private:
+ std::unique_ptr ss_;
+
+ QString getSplashPath(
+ const Settings& settings, const QString& dataPath,
+ const MOBase::IPluginGame* game) const;
+};
+
#endif // MOAPPLICATION_H
--
cgit v1.3.1