aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h')
-rw-r--r--libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h b/libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h
new file mode 100644
index 0000000..fe52505
--- /dev/null
+++ b/libs/game_bethesda/src/games/fallout4/fallout4bsainvalidation.h
@@ -0,0 +1,33 @@
+#ifndef FALLOUT4BSAINVALIDATION_H
+#define FALLOUT4BSAINVALIDATION_H
+
+#include "fallout4dataarchives.h"
+#include "gamebryobsainvalidation.h"
+#include <bsainvalidation.h>
+#include <dataarchives.h>
+
+#include <memory>
+
+namespace MOBase
+{
+class IPluginGame;
+}
+
+class Fallout4BSAInvalidation : public GamebryoBSAInvalidation
+{
+public:
+ Fallout4BSAInvalidation(MOBase::DataArchives* dataArchives,
+ MOBase::IPluginGame const* game);
+ virtual bool isInvalidationBSA(const QString& bsaName) override;
+ virtual bool prepareProfile(MOBase::IProfile* profile) override;
+
+private:
+ virtual QString invalidationBSAName() const override;
+ virtual unsigned long bsaVersion() const override;
+
+private:
+ QString m_IniFileName;
+ MOBase::IPluginGame const* m_Game;
+};
+
+#endif // FALLOUT4BSAINVALIDATION_H