20#ifndef KICAD_ASSET_ARCHIVE_H
21#define KICAD_ASSET_ARCHIVE_H
24#include <unordered_map>
39 ASSET_ARCHIVE(
const wxString& aFilePath,
bool aLoadNow =
true );
52 long GetFileContents(
const wxString& aFilePath,
const unsigned char* aDest,
size_t aMaxLen );
60 long GetFilePointer(
const wxString& aFilePath,
const unsigned char** aDest );
KICAD_PLUGIN_EXPORT SCENEGRAPH * Load(char const *aFileName)
reads a model file and creates a generic display structure
An asset archive represents a file containing data assets that are loaded from disk and then cached i...
std::unordered_map< wxString, FILE_INFO > m_fileInfoCache
Cache of file info for a given file path.
wxString m_filePath
Path to the source archive file.
std::vector< unsigned char > m_cache
The full file contents.