aboutsummaryrefslogtreecommitdiff
path: root/libs/bsapacker/src/OverrideFileService.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bsapacker/src/OverrideFileService.h')
-rw-r--r--libs/bsapacker/src/OverrideFileService.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/bsapacker/src/OverrideFileService.h b/libs/bsapacker/src/OverrideFileService.h
new file mode 100644
index 0000000..ffcad17
--- /dev/null
+++ b/libs/bsapacker/src/OverrideFileService.h
@@ -0,0 +1,21 @@
+#ifndef OVERRIDEFILESERVICE_H
+#define OVERRIDEFILESERVICE_H
+
+#include "bsapacker_global.h"
+#include <bsapacker/IFileWriterService.h>
+#include <bsapacker/IOverrideFileService.h>
+
+namespace BsaPacker {
+ class BSAPACKER_EXPORT OverrideFileService : public IOverrideFileService {
+ public:
+ OverrideFileService(const IFileWriterService* fileWriterService);
+ bool CreateOverrideFile(const int nexusId,
+ const QString& modPath,
+ const QStringList& archiveNames) const override;
+
+ private:
+ const IFileWriterService* m_FileWriterService = nullptr;
+ };
+} // namespace BsaPacker
+
+#endif // OVERRIDEFILESERVICE_H