Torch
Loading...
Searching...
No Matches
SWrapper.h
1
#pragma once
2
3
#include <vector>
4
#include <string>
5
#include "BinaryWrapper.h"
6
#ifdef USE_STORMLIB
7
#include <StormLib/src/StormLib.h>
8
#endif
9
10
class
SWrapper :
public
BinaryWrapper {
11
public
:
12
explicit
SWrapper(
const
std::string& path);
13
14
int32_t CreateArchive(
void
)
override
;
15
bool
AddFile(
const
std::string& path, std::vector<char> data)
override
;
16
int32_t Close(
void
)
override
;
17
#ifdef USE_STORMLIB
18
private
:
19
HANDLE hMpq{};
20
#endif
21
};
src
archive
SWrapper.h
Generated by
1.14.0