You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
588 B
32 lines
588 B
|
|
#ifndef _INMEMORYTAR_H_
|
|
#define _INMEMORYTAR_H_
|
|
|
|
#include <string>
|
|
#include <list>
|
|
#include <stdio.h>
|
|
#include <archive.h>
|
|
#include <archive_entry.h>
|
|
|
|
#include "inmemoryfile.h"
|
|
|
|
// Symbole vom Linker/objcopy
|
|
extern unsigned char _binary_assets_tar_start[];
|
|
extern unsigned char _binary_assets_tar_end[];
|
|
|
|
/*
|
|
* this class will always read the assets_tar structure
|
|
*/
|
|
class InMemoryTar {
|
|
private:
|
|
std::list<InMemoryFile*> files;
|
|
protected:
|
|
public:
|
|
InMemoryTar();
|
|
~InMemoryTar();
|
|
|
|
int FindFile(std::string file, InMemoryFile **imf);
|
|
};
|
|
|
|
#endif
|