blob: 1ee849049dae4fc7fe3c270fb58059c0a15b272f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef ARCHIVENAMESERVICE_H
#define ARCHIVENAMESERVICE_H
#include "bsapacker_global.h"
#include <bsapacker/IArchiveNameService.h>
#include <bsapacker/IModContext.h>
namespace BsaPacker
{
class BSAPACKER_EXPORT ArchiveNameService : public IArchiveNameService
{
public:
ArchiveNameService(const IModContext* modContext);
~ArchiveNameService() override = default;
QString GetArchiveFullPath(bsa_archive_type_e type, const IModDto* modDto) const override;
QString GetFileExtension() const override;
QString Infix(bsa_archive_type_e type) const override;
QString Suffix(const QString& pathNoExt) const override;
private:
const IModContext* m_ModContext = nullptr;
};
}
#endif // ARCHIVENAMESERVICE_H
|