aboutsummaryrefslogtreecommitdiff
path: root/libs/bsapacker/src/OverrideFileService.h
blob: ffcad173e6b2e3f560751443a0e286fdd9c7da78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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