blob: 3095f07b94fbb023e814245f47a3e0a40d285991 (
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
25
26
|
#ifndef ARCHIVEUTIL_H
#define ARCHIVEUTIL_H
#include <stdio.h>
#include <string>
#include <memory>
#include <QVector>
#include <QDir>
#include <archive.h>
#include <archive_entry.h>
#include "types.h"
namespace Archive
{
QVector<QString> ListArchive(const char* path);
QVector<QString> ExtractFileFromArchive(const char* path, const char* wantedFile, QByteArray *romBuffer);
u32 ExtractFileFromArchive(const char* path, const char* wantedFile, u8 **romdata);
}
#endif // ARCHIVEUTIL_H
|